#122F57#122F57
#122F57 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.080 H 257.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #122F57 |
|---|---|
| RGB | rgb(18, 47, 87) |
| HSL | hsl(215, 66%, 21%) |
| HSV | hsv(215, 79%, 34%) |
| CMYK | cmyk(79.3%, 46%, 0%, 65.9%) |
| CIE-LAB | lab(19.43, 5.04, -27.33) |
| CIE-LCH | lch(19.43, 27.79, 280.46°) |
| OKLab | oklab(30.68% -0.0178 -0.0781) |
| OKLCH | oklch(30.68% 0.08 257.2) |
| XYZ | xyz(2.9856, 2.8494, 9.4076) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 1.96
Navy Blue
#1B2A4A
ΔE00 3.61
Marine Blue
#01386A
ΔE00 4.26
Twilight Blue
#0A437A
ΔE00 7.67
Darkish Blue
#014182
ΔE00 7.77
Prussian Blue
#004577
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F57 #573A12
analogous
#125157 #122F57 #181257
triadic
#122F57 #57122F #2F5712
tetradic
#122F57 #571251 #573A12 #125718
square
#122F57 #571251 #573A12 #125718
split-complementary
#122F57 #571812 #515712
monochromatic
#050E19 #081424 #122F57 #1C4A8A #2766BC
Accessibility & contrast
On white
13.38
#122F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#122F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F57
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F57 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#0F2C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #122f57; /* rgb */ color: rgb(18, 47, 87); /* oklch */ color: oklch(30.7% 0.080 257.2);
Tailwind
colors: {
custom: {
50: '#5b6787',
500: '#122f57',
950: '#000000',
},
}SCSS
$custom: #122f57; $custom-light: #5b6787; $custom-dark: #000000;
JSON
{
"hex": "#122f57",
"rgb": {
"r": 18,
"g": 47,
"b": 87
},
"hsl": {
"h": 214.783,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.30682,
"c": 0.08014,
"h": 257.2
},
"luminance": 0.0285
}Semantic roles & 50–950 ramp
primary
#122F57
secondary
#906A35
accent
#A13FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C