#122F5A#122F5A
#122F5A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.085 H 258.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #122F5A |
|---|---|
| RGB | rgb(18, 47, 90) |
| HSL | hsl(216, 67%, 21%) |
| HSV | hsv(216, 80%, 35%) |
| CMYK | cmyk(80%, 47.8%, 0%, 64.7%) |
| CIE-LAB | lab(19.64, 6.33, -28.99) |
| CIE-LCH | lch(19.64, 29.68, 282.32°) |
| OKLab | oklab(30.91% -0.0171 -0.083) |
| OKLCH | oklch(30.91% 0.085 258.4) |
| XYZ | xyz(3.1108, 2.8995, 10.0666) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.56
Navy Blue
#1B2A4A
ΔE00 3.91
Marine Blue
#01386A
ΔE00 4.19
Twilight Blue
#0A437A
ΔE00 7.58
Darkish Blue
#014182
ΔE00 7.58
Navy (survey)
#01153E
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F5A #5A3D12
analogous
#12535A #122F5A #19125A
triadic
#122F5A #5A122F #2F5A12
tetradic
#122F5A #5A1253 #5A3D12 #125A19
square
#122F5A #5A1253 #5A3D12 #125A19
split-complementary
#122F5A #5A1912 #535A12
monochromatic
#050D1A #081427 #122F5A #1C4A8D #2664C0
Accessibility & contrast
On white
13.29
#122F5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#122F5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F5A
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F5A | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19335C
Deuteranopia (green-blind)
#0B2C59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122f5a; /* rgb */ color: rgb(18, 47, 90); /* oklch */ color: oklch(30.9% 0.085 258.4);
Tailwind
colors: {
custom: {
50: '#5b6789',
500: '#122f5a',
950: '#000000',
},
}SCSS
$custom: #122f5a; $custom-light: #5b6789; $custom-dark: #000000;
JSON
{
"hex": "#122f5a",
"rgb": {
"r": 18,
"g": 47,
"b": 90
},
"hsl": {
"h": 215.833,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.30908,
"c": 0.08477,
"h": 258.4
},
"luminance": 0.029
}Semantic roles & 50–950 ramp
primary
#122F5A
secondary
#936D35
accent
#A53EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C