#122942#122942
#122942 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.055 H 252.1°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #122942 |
|---|---|
| RGB | rgb(18, 41, 66) |
| HSL | hsl(211, 57%, 16%) |
| HSV | hsv(211, 73%, 26%) |
| CMYK | cmyk(72.7%, 37.9%, 0%, 74.1%) |
| CIE-LAB | lab(16.04, 0.51, -18.48) |
| CIE-LCH | lch(16.04, 18.48, 271.58°) |
| OKLab | oklab(27.6% -0.0168 -0.0523) |
| OKLCH | oklch(27.6% 0.055 252.1) |
| XYZ | xyz(2.0254, 2.1076, 5.4533) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.34
Dark
#1B2431
ΔE00 5.46
Marine
#042E60
ΔE00 5.93
Marine Blue
#01386A
ΔE00 7.56
Dark Blue Grey
#1F3B4D
ΔE00 7.84
Navy (survey)
#01153E
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122942 #422B12
analogous
#124142 #122942 #131242
triadic
#122942 #421229 #294212
tetradic
#122942 #421241 #422B12 #124213
square
#122942 #421241 #422B12 #124213
split-complementary
#122942 #421312 #414212
monochromatic
#070F18 #070F18 #122942 #1F4772 #2C65A2
Accessibility & contrast
On white
14.77
#122942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#122942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122942
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122942 | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2A43
Deuteranopia (green-blind)
#182641
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #122942; /* rgb */ color: rgb(18, 41, 66); /* oklch */ color: oklch(27.6% 0.055 252.1);
Tailwind
colors: {
custom: {
50: '#566276',
500: '#122942',
950: '#000000',
},
}SCSS
$custom: #122942; $custom-light: #566276; $custom-dark: #000000;
JSON
{
"hex": "#122942",
"rgb": {
"r": 18,
"g": 41,
"b": 66
},
"hsl": {
"h": 211.25,
"s": 57.143,
"l": 16.471
},
"oklch": {
"l": 0.27604,
"c": 0.05496,
"h": 252.1
},
"luminance": 0.02108
}Semantic roles & 50–950 ramp
primary
#122942
secondary
#7B5935
accent
#9747E0
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B