#122A4C#122A4C
#122A4C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.069 H 257.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #122A4C |
|---|---|
| RGB | rgb(18, 42, 76) |
| HSL | hsl(215, 62%, 18%) |
| HSV | hsv(215, 76%, 30%) |
| CMYK | cmyk(76.3%, 44.7%, 0%, 70.2%) |
| CIE-LAB | lab(17.02, 3.99, -23.78) |
| CIE-LCH | lch(17.02, 24.11, 279.53°) |
| OKLab | oklab(28.57% -0.0151 -0.0678) |
| OKLCH | oklch(28.57% 0.069 257.5) |
| XYZ | xyz(2.3815, 2.3061, 7.1557) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.07
Marine
#042E60
ΔE00 3.76
Marine Blue
#01386A
ΔE00 6.31
Navy (survey)
#01153E
ΔE00 7.12
Dark
#1B2431
ΔE00 8.36
Navy Blue (survey)
#001146
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122A4C #4C3412
analogous
#12474C #122A4C #17124C
triadic
#122A4C #4C122A #2A4C12
tetradic
#122A4C #4C1247 #4C3412 #124C17
square
#122A4C #4C1247 #4C3412 #124C17
split-complementary
#122A4C #4C1712 #474C12
monochromatic
#060E19 #060F1B #122A4C #1E457D #2961AF
Accessibility & contrast
On white
14.37
#122A4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#122A4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122A4C
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122A4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122A4C | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#11274B
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #122a4c; /* rgb */ color: rgb(18, 42, 76); /* oklch */ color: oklch(28.6% 0.069 257.5);
Tailwind
colors: {
custom: {
50: '#58637e',
500: '#122a4c',
950: '#000000',
},
}SCSS
$custom: #122a4c; $custom-light: #58637e; $custom-dark: #000000;
JSON
{
"hex": "#122a4c",
"rgb": {
"r": 18,
"g": 42,
"b": 76
},
"hsl": {
"h": 215.172,
"s": 61.702,
"l": 18.431
},
"oklch": {
"l": 0.28571,
"c": 0.06948,
"h": 257.5
},
"luminance": 0.02306
}Semantic roles & 50–950 ramp
primary
#122A4C
secondary
#856435
accent
#A243E5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C