#124B87 color
The hex color #124B87 is a dark, moderate azure.
In the RGB color model it is made of 7.1% red, 29.4% green and 52.9% blue (18, 75, 135).
Its hue angle is 211°, with 76% saturation and 30% lightness. For print, the CMYK equivalent is 87% cyan, 44% magenta, 0% yellow and 47% black.
The closest named color is Olympian Blue (#1C4C8C), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.82:1).
#124B87 color codes
| HEX | #124B87 | |
|---|---|---|
| RGB | rgb(18, 75, 135) | |
| RGB percent | rgb(7.1%, 29.4%, 52.9%) | |
| HSL | hsl(211, 76%, 30%) | |
| HSV / HSB | hsv(211, 87%, 53%) | |
| CMYK | cmyk(87%, 44%, 0%, 47%) | |
| CIE LAB | lab(31.6, 5.77, -38.53) | |
| CIE LCH | lch(31.6, 38.96, 278.52) | |
| CIE XYZ | xyz(7.137, 6.909, 23.874) | |
| Decimal | 1198983 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #124B87, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #124B87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.82:1 | Pass | Pass | Pass |
| #124B87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.82:1 | Pass | Pass | Pass |
| Sample text | 2.38:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #124B87 looks to people with the most common types of color vision deficiency.
#2c5089Protanopia
no red cones#154686Deuteranopia
no green cones#005962Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #124b87; }
.text { color: #124b87; }
.border { border: 2px solid #124b87; }
.transparent { background-color: rgb(18 75 135 / 50%); }
.gradient { background: linear-gradient(to right, #124b87, #131287); }
Similar colors
#1c4c8cOlympian Blue#234e86Night Mode#1c4d8fDancing Sea#004488Pacific Depths#1e488fNuit Blanche#244e94Le Grand Bleu#2d4f83Assassin#1e4581Maritime Outpost
Closest common color name: Cobalt Blue.
Questions
- What color is #124B87?
- #124B87 is a dark, moderate azure, closest to the named color Olympian Blue. It belongs to the blue family of colors.
- What is the RGB value of #124B87?
- The RGB value is 18, 75, 135: 18 red, 75 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #124B87?
- The complementary color is #874E12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #124B87?
- White text. Black text has a contrast ratio of 2.38:1 and white text 8.82:1. WCAG asks for at least 4.5:1 for normal text.