#122A4F#122A4F
#122A4F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.074 H 258.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #122A4F |
|---|---|
| RGB | rgb(18, 42, 79) |
| HSL | hsl(216, 63%, 19%) |
| HSV | hsv(216, 77%, 31%) |
| CMYK | cmyk(77.2%, 46.8%, 0%, 69%) |
| CIE-LAB | lab(17.22, 5.27, -25.49) |
| CIE-LCH | lch(17.22, 26.03, 281.68°) |
| OKLab | oklab(28.79% -0.0143 -0.0728) |
| OKLCH | oklch(28.79% 0.074 258.9) |
| XYZ | xyz(2.4882, 2.3488, 7.7178) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.14
Marine
#042E60
ΔE00 3.32
Marine Blue
#01386A
ΔE00 6.17
Navy (survey)
#01153E
ΔE00 6.87
Navy Blue (survey)
#001146
ΔE00 8.58
Dark
#1B2431
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122A4F #4F3712
analogous
#12494F #122A4F #18124F
triadic
#122A4F #4F122A #2A4F12
tetradic
#122A4F #4F1249 #4F3712 #124F18
square
#122A4F #4F1249 #4F3712 #124F18
split-complementary
#122A4F #4F1812 #494F12
monochromatic
#060D19 #07101D #122A4F #1D4581 #295FB3
Accessibility & contrast
On white
14.29
#122A4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#122A4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122A4F
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122A4F | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0E284E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #122a4f; /* rgb */ color: rgb(18, 42, 79); /* oklch */ color: oklch(28.8% 0.074 258.9);
Tailwind
colors: {
custom: {
50: '#596380',
500: '#122a4f',
950: '#000000',
},
}SCSS
$custom: #122a4f; $custom-light: #596380; $custom-dark: #000000;
JSON
{
"hex": "#122a4f",
"rgb": {
"r": 18,
"g": 42,
"b": 79
},
"hsl": {
"h": 216.393,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.28794,
"c": 0.07424,
"h": 258.9
},
"luminance": 0.02349
}Semantic roles & 50–950 ramp
primary
#122A4F
secondary
#886735
accent
#A542E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C