#122E7E#122E7E
#122E7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.140 H 264.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #122E7E |
|---|---|
| RGB | rgb(18, 46, 126) |
| HSL | hsl(224, 75%, 28%) |
| HSV | hsv(224, 86%, 49%) |
| CMYK | cmyk(85.7%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(22.26, 22.32, -48.03) |
| CIE-LCH | lch(22.26, 52.96, 294.92°) |
| OKLab | oklab(33.82% -0.0125 -0.139) |
| OKLCH | oklch(33.82% 0.14 264.8) |
| XYZ | xyz(4.9910, 3.5883, 20.1642) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.66
Marine Blue
#01386A
ΔE00 6.67
Midnight Blue
#191970
ΔE00 6.69
Sapphire (survey)
#2138AB
ΔE00 7.05
Darkish Blue
#014182
ΔE00 7.43
Royal
#0C1793
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122E7E #7E6212
analogous
#12647E #122E7E #2C127E
triadic
#122E7E #7E122E #2E7E12
tetradic
#122E7E #7E1264 #7E6212 #127E2C
square
#122E7E #7E1264 #7E6212 #127E2C
split-complementary
#122E7E #7E2C12 #647E12
monochromatic
#040A1B #0A1A48 #122E7E #1A42B4 #2A59E1
Accessibility & contrast
On white
12.22
#122E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#122E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122E7E
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122E7E | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #122e7e; /* rgb */ color: rgb(18, 46, 126); /* oklch */ color: oklch(33.8% 0.140 264.8);
Tailwind
colors: {
custom: {
50: '#6666a4',
500: '#122e7e',
950: '#000000',
},
}SCSS
$custom: #122e7e; $custom-light: #6666a4; $custom-dark: #000000;
JSON
{
"hex": "#122e7e",
"rgb": {
"r": 18,
"g": 46,
"b": 126
},
"hsl": {
"h": 224.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.33819,
"c": 0.13957,
"h": 264.8
},
"luminance": 0.03589
}Semantic roles & 50–950 ramp
primary
#122E7E
secondary
#B49438
accent
#C136F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F