#122E58#122E58
#122E58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.083 H 258.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #122E58 |
|---|---|
| RGB | rgb(18, 46, 88) |
| HSL | hsl(216, 66%, 21%) |
| HSV | hsv(216, 80%, 35%) |
| CMYK | cmyk(79.5%, 47.7%, 0%, 65.5%) |
| CIE-LAB | lab(19.17, 6.20, -28.41) |
| CIE-LCH | lch(19.17, 29.08, 282.31°) |
| OKLab | oklab(30.5% -0.0165 -0.0813) |
| OKLCH | oklch(30.5% 0.083 258.5) |
| XYZ | xyz(2.9873, 2.7868, 9.6111) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.80
Navy Blue
#1B2A4A
ΔE00 3.55
Marine Blue
#01386A
ΔE00 4.56
Twilight Blue
#0A437A
ΔE00 7.97
Darkish Blue
#014182
ΔE00 7.99
Navy (survey)
#01153E
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122E58 #583C12
analogous
#125158 #122E58 #191258
triadic
#122E58 #58122E #2E5812
tetradic
#122E58 #581251 #583C12 #125819
square
#122E58 #581251 #583C12 #125819
split-complementary
#122E58 #581912 #515812
monochromatic
#050D19 #081325 #122E58 #1C498B #2763BE
Accessibility & contrast
On white
13.48
#122E58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#122E58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122E58
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122E58 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#0B2C57
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #122e58; /* rgb */ color: rgb(18, 46, 88); /* oklch */ color: oklch(30.5% 0.083 258.5);
Tailwind
colors: {
custom: {
50: '#5b6687',
500: '#122e58',
950: '#000000',
},
}SCSS
$custom: #122e58; $custom-light: #5b6687; $custom-dark: #000000;
JSON
{
"hex": "#122e58",
"rgb": {
"r": 18,
"g": 46,
"b": 88
},
"hsl": {
"h": 216,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.30502,
"c": 0.08301,
"h": 258.5
},
"luminance": 0.02787
}Semantic roles & 50–950 ramp
primary
#122E58
secondary
#916C35
accent
#A53FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C