#124C9F#124C9F
#124C9F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.147 H 258.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #124C9F |
|---|---|
| RGB | rgb(18, 76, 159) |
| HSL | hsl(215, 80%, 35%) |
| HSV | hsv(215, 89%, 62%) |
| CMYK | cmyk(88.7%, 52.2%, 0%, 37.6%) |
| CIE-LAB | lab(33.56, 15.02, -50.00) |
| CIE-LCH | lch(33.56, 52.20, 286.72°) |
| OKLab | oklab(43.21% -0.0289 -0.1442) |
| OKLCH | oklch(43.21% 0.147 258.7) |
| XYZ | xyz(9.0896, 7.7995, 33.8205) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.40
Cobalt
#0047AB
ΔE00 2.53
Dusk Blue
#26538D
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.82
Light Navy
#155084
ΔE00 4.49
Darkish Blue
#014182
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124C9F #9F6512
analogous
#12939F #124C9F #1E129F
triadic
#124C9F #9F124C #4C9F12
tetradic
#124C9F #9F1293 #9F6512 #129F1E
square
#124C9F #9F1293 #9F6512 #129F1E
split-complementary
#124C9F #9F1E12 #939F12
monochromatic
#061731 #0C3268 #124C9F #1866D6 #4287EA
Accessibility & contrast
On white
8.20
#124C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#124C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124C9F
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124C9F | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1255A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #124c9f; /* rgb */ color: rgb(18, 76, 159); /* oklch */ color: oklch(43.2% 0.147 258.7);
Tailwind
colors: {
custom: {
50: '#6d7dbc',
500: '#124c9f',
950: '#000000',
},
}SCSS
$custom: #124c9f; $custom-light: #6d7dbc; $custom-dark: #000000;
JSON
{
"hex": "#124c9f",
"rgb": {
"r": 18,
"g": 76,
"b": 159
},
"hsl": {
"h": 215.319,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.43206,
"c": 0.14704,
"h": 258.7
},
"luminance": 0.07801
}Semantic roles & 50–950 ramp
primary
#124C9F
secondary
#CA9243
accent
#A532F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81