#122541#122541
#122541 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.4% C 0.058 H 258.0°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).
Color values
| HEX | #122541 |
|---|---|
| RGB | rgb(18, 37, 65) |
| HSL | hsl(216, 57%, 16%) |
| HSV | hsv(216, 72%, 25%) |
| CMYK | cmyk(72.3%, 43.1%, 0%, 74.5%) |
| CIE-LAB | lab(14.59, 3.02, -20.08) |
| CIE-LCH | lch(14.59, 20.31, 278.54°) |
| OKLab | oklab(26.45% -0.0121 -0.0571) |
| OKLCH | oklch(26.45% 0.058 258) |
| XYZ | xyz(1.8648, 1.8332, 5.2556) |
| Luminance | 0.0183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.57
Marine
#042E60
ΔE00 6.08
Navy (survey)
#01153E
ΔE00 6.47
Dark
#1B2431
ΔE00 6.48
Navy Blue (survey)
#001146
ΔE00 8.48
Marine Blue
#01386A
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122541 #412E12
analogous
#123D41 #122541 #171241
triadic
#122541 #411225 #254112
tetradic
#122541 #41123D #412E12 #124117
square
#122541 #41123D #412E12 #124117
split-complementary
#122541 #411712 #3D4112
monochromatic
#070E18 #070E18 #122541 #1F4071 #2D5CA1
Accessibility & contrast
On white
15.37
#122541 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#122541 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122541
15.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122541 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122541 | 1.00 | 15.37 | 1.37 | 15.37 |
| #FFFFFF | 15.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#122340
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #122541; /* rgb */ color: rgb(18, 37, 65); /* oklch */ color: oklch(26.4% 0.058 258.0);
Tailwind
colors: {
custom: {
50: '#565f76',
500: '#122541',
950: '#000000',
},
}SCSS
$custom: #122541; $custom-light: #565f76; $custom-dark: #000000;
JSON
{
"hex": "#122541",
"rgb": {
"r": 18,
"g": 37,
"b": 65
},
"hsl": {
"h": 215.745,
"s": 56.627,
"l": 16.275
},
"oklch": {
"l": 0.26448,
"c": 0.05833,
"h": 258
},
"luminance": 0.01833
}Semantic roles & 50–950 ramp
primary
#122541
secondary
#7A5E35
accent
#A248E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B