#122E56#122E56
#122E56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.080 H 257.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #122E56 |
|---|---|
| RGB | rgb(18, 46, 86) |
| HSL | hsl(215, 65%, 20%) |
| HSV | hsv(215, 79%, 34%) |
| CMYK | cmyk(79.1%, 46.5%, 0%, 66.3%) |
| CIE-LAB | lab(19.03, 5.34, -27.30) |
| CIE-LCH | lch(19.03, 27.82, 281.07°) |
| OKLab | oklab(30.35% -0.017 -0.0781) |
| OKLCH | oklch(30.35% 0.08 257.7) |
| XYZ | xyz(2.9056, 2.7542, 9.1808) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.06
Navy Blue
#1B2A4A
ΔE00 3.33
Marine Blue
#01386A
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 8.03
Darkish Blue
#014182
ΔE00 8.12
Navy (survey)
#01153E
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122E56 #563A12
analogous
#125056 #122E56 #181256
triadic
#122E56 #56122E #2E5612
tetradic
#122E56 #561250 #563A12 #125618
square
#122E56 #561250 #563A12 #125618
split-complementary
#122E56 #561812 #505612
monochromatic
#050E19 #071323 #122E56 #1D4989 #2764BB
Accessibility & contrast
On white
13.54
#122E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#122E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122E56
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122E56 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3258
Deuteranopia (green-blind)
#0E2B55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #122e56; /* rgb */ color: rgb(18, 46, 86); /* oklch */ color: oklch(30.4% 0.080 257.7);
Tailwind
colors: {
custom: {
50: '#5a6686',
500: '#122e56',
950: '#000000',
},
}SCSS
$custom: #122e56; $custom-light: #5a6686; $custom-dark: #000000;
JSON
{
"hex": "#122e56",
"rgb": {
"r": 18,
"g": 46,
"b": 86
},
"hsl": {
"h": 215.294,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.30351,
"c": 0.07991,
"h": 257.7
},
"luminance": 0.02754
}Semantic roles & 50–950 ramp
primary
#122E56
secondary
#8F6A35
accent
#A33FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C