#122C5B#122C5B
#122C5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.090 H 261.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #122C5B |
|---|---|
| RGB | rgb(18, 44, 91) |
| HSL | hsl(219, 67%, 21%) |
| HSV | hsv(219, 80%, 36%) |
| CMYK | cmyk(80.2%, 51.6%, 0%, 64.3%) |
| CIE-LAB | lab(18.74, 8.95, -31.10) |
| CIE-LCH | lch(18.74, 32.37, 286.06°) |
| OKLab | oklab(30.24% -0.014 -0.0893) |
| OKLCH | oklch(30.24% 0.09 261.1) |
| XYZ | xyz(3.0378, 2.6850, 10.2536) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.94
Navy Blue
#1B2A4A
ΔE00 3.96
Marine Blue
#01386A
ΔE00 5.25
Navy (survey)
#01153E
ΔE00 7.56
Darkish Blue
#014182
ΔE00 8.40
Twilight Blue
#0A437A
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122C5B #5B4112
analogous
#12515B #122C5B #1D125B
triadic
#122C5B #5B122C #2C5B12
tetradic
#122C5B #5B1251 #5B4112 #125B1D
square
#122C5B #5B1251 #5B4112 #125B1D
split-complementary
#122C5B #5B1D12 #515B12
monochromatic
#050C1A #081328 #122C5B #1C458E #265DC1
Accessibility & contrast
On white
13.66
#122C5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#122C5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122C5B
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122C5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122C5B | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #122c5b; /* rgb */ color: rgb(18, 44, 91); /* oklch */ color: oklch(30.2% 0.090 261.1);
Tailwind
colors: {
custom: {
50: '#5c648a',
500: '#122c5b',
950: '#000000',
},
}SCSS
$custom: #122c5b; $custom-light: #5c648a; $custom-dark: #000000;
JSON
{
"hex": "#122c5b",
"rgb": {
"r": 18,
"g": 44,
"b": 91
},
"hsl": {
"h": 218.63,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.30237,
"c": 0.09039,
"h": 261.1
},
"luminance": 0.02685
}Semantic roles & 50–950 ramp
primary
#122C5B
secondary
#937235
accent
#AD3EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C