#122B4F#122B4F
#122B4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.073 H 257.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #122B4F |
|---|---|
| RGB | rgb(18, 43, 79) |
| HSL | hsl(215, 63%, 19%) |
| HSV | hsv(215, 77%, 31%) |
| CMYK | cmyk(77.2%, 45.6%, 0%, 69%) |
| CIE-LAB | lab(17.56, 4.54, -24.96) |
| CIE-LCH | lch(17.56, 25.37, 280.30°) |
| OKLab | oklab(29.05% -0.0154 -0.0712) |
| OKLCH | oklch(29.05% 0.073 257.8) |
| XYZ | xyz(2.5241, 2.4206, 7.7298) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.29
Marine
#042E60
ΔE00 3.22
Marine Blue
#01386A
ΔE00 5.85
Navy (survey)
#01153E
ΔE00 7.30
Dark
#1B2431
ΔE00 8.94
Navy Blue (survey)
#001146
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122B4F #4F3612
analogous
#124A4F #122B4F #18124F
triadic
#122B4F #4F122B #2B4F12
tetradic
#122B4F #4F124A #4F3612 #124F18
square
#122B4F #4F124A #4F3612 #124F18
split-complementary
#122B4F #4F1812 #4A4F12
monochromatic
#060E19 #07101D #122B4F #1D4681 #2961B3
Accessibility & contrast
On white
14.15
#122B4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#122B4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122B4F
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122B4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122B4F | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #122b4f; /* rgb */ color: rgb(18, 43, 79); /* oklch */ color: oklch(29.1% 0.073 257.8);
Tailwind
colors: {
custom: {
50: '#596380',
500: '#122b4f',
950: '#000000',
},
}SCSS
$custom: #122b4f; $custom-light: #596380; $custom-dark: #000000;
JSON
{
"hex": "#122b4f",
"rgb": {
"r": 18,
"g": 43,
"b": 79
},
"hsl": {
"h": 215.41,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.29053,
"c": 0.07291,
"h": 257.8
},
"luminance": 0.02421
}Semantic roles & 50–950 ramp
primary
#122B4F
secondary
#886635
accent
#A342E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C