#122E71#122E71
#122E71 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.6% C 0.121 H 263.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #122E71 |
|---|---|
| RGB | rgb(18, 46, 113) |
| HSL | hsl(222, 73%, 26%) |
| HSV | hsv(222, 84%, 44%) |
| CMYK | cmyk(84.1%, 59.3%, 0%, 55.7%) |
| CIE-LAB | lab(21.11, 16.89, -41.62) |
| CIE-LCH | lch(21.11, 44.92, 292.09°) |
| OKLab | oklab(32.6% -0.0131 -0.1202) |
| OKLCH | oklch(32.6% 0.121 263.8) |
| XYZ | xyz(4.2060, 3.2743, 16.0299) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.65
Marine Blue
#01386A
ΔE00 5.47
Darkish Blue
#014182
ΔE00 7.16
Navy Blue
#1B2A4A
ΔE00 7.35
Midnight Blue
#191970
ΔE00 7.37
Twilight Blue
#0A437A
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122E71 #715512
analogous
#125D71 #122E71 #251271
triadic
#122E71 #71122E #2E7112
tetradic
#122E71 #71125D #715512 #127125
square
#122E71 #71125D #715512 #127125
split-complementary
#122E71 #712512 #5D7112
monochromatic
#040B1A #0A193C #122E71 #1A43A6 #2359DB
Accessibility & contrast
On white
12.69
#122E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#122E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122E71
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122E71 | 1.00 | 12.69 | 1.66 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #122e71; /* rgb */ color: rgb(18, 46, 113); /* oklch */ color: oklch(32.6% 0.121 263.8);
Tailwind
colors: {
custom: {
50: '#62669a',
500: '#122e71',
950: '#000000',
},
}SCSS
$custom: #122e71; $custom-light: #62669a; $custom-dark: #000000;
JSON
{
"hex": "#122e71",
"rgb": {
"r": 18,
"g": 46,
"b": 113
},
"hsl": {
"h": 222.316,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.326,
"c": 0.12091,
"h": 263.8
},
"luminance": 0.03275
}Semantic roles & 50–950 ramp
primary
#122E71
secondary
#A88737
accent
#B939EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E