#122F59#122F59
#122F59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.083 H 258.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #122F59 |
|---|---|
| RGB | rgb(18, 47, 89) |
| HSL | hsl(215, 66%, 21%) |
| HSV | hsv(215, 80%, 35%) |
| CMYK | cmyk(79.8%, 47.2%, 0%, 65.1%) |
| CIE-LAB | lab(19.57, 5.90, -28.44) |
| CIE-LCH | lch(19.57, 29.05, 281.72°) |
| OKLab | oklab(30.83% -0.0173 -0.0814) |
| OKLCH | oklch(30.83% 0.083 258) |
| XYZ | xyz(3.0685, 2.8826, 9.8439) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.68
Navy Blue
#1B2A4A
ΔE00 3.79
Marine Blue
#01386A
ΔE00 4.20
Twilight Blue
#0A437A
ΔE00 7.61
Darkish Blue
#014182
ΔE00 7.64
Navy (survey)
#01153E
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F59 #593C12
analogous
#125259 #122F59 #181259
triadic
#122F59 #59122F #2F5912
tetradic
#122F59 #591252 #593C12 #125918
square
#122F59 #591252 #593C12 #125918
split-complementary
#122F59 #591812 #525912
monochromatic
#050D19 #081426 #122F59 #1C4A8C #2765BF
Accessibility & contrast
On white
13.32
#122F59 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#122F59 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F59
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F59 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#0D2C58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #122f59; /* rgb */ color: rgb(18, 47, 89); /* oklch */ color: oklch(30.8% 0.083 258.0);
Tailwind
colors: {
custom: {
50: '#5b6788',
500: '#122f59',
950: '#000000',
},
}SCSS
$custom: #122f59; $custom-light: #5b6788; $custom-dark: #000000;
JSON
{
"hex": "#122f59",
"rgb": {
"r": 18,
"g": 47,
"b": 89
},
"hsl": {
"h": 215.493,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.30832,
"c": 0.08322,
"h": 258
},
"luminance": 0.02883
}Semantic roles & 50–950 ramp
primary
#122F59
secondary
#926C35
accent
#A43FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C