#212E50#212E50
#212E50 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.064 H 266.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #212E50 |
|---|---|
| RGB | rgb(33, 46, 80) |
| HSL | hsl(223, 42%, 22%) |
| HSV | hsv(223, 59%, 31%) |
| CMYK | cmyk(58.8%, 42.5%, 0%, 68.6%) |
| CIE-LAB | lab(19.46, 6.08, -22.56) |
| CIE-LCH | lch(19.46, 23.36, 285.08°) |
| OKLab | oklab(30.78% -0.0035 -0.0639) |
| OKLCH | oklch(30.78% 0.064 266.8) |
| XYZ | xyz(3.0517, 2.8563, 7.9784) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.59
Marine
#042E60
ΔE00 5.27
Marine Blue
#01386A
ΔE00 7.44
Navy (survey)
#01153E
ΔE00 8.00
Dark
#1B2431
ΔE00 9.22
Navy Blue (survey)
#001146
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E50 #504321
analogous
#214650 #212E50 #2C2150
triadic
#212E50 #50212E #2E5021
tetradic
#212E50 #502146 #504321 #21502C
square
#212E50 #502146 #504321 #21502C
split-complementary
#212E50 #502C21 #465021
monochromatic
#090C16 #0F1525 #212E50 #33477B #4560A7
Accessibility & contrast
On white
13.36
#212E50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#212E50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E50
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E50 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#1B2D4F
Tritanopia (blue-blind)
#09353B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #212e50; /* rgb */ color: rgb(33, 46, 80); /* oklch */ color: oklch(30.8% 0.064 266.8);
Tailwind
colors: {
custom: {
50: '#606681',
500: '#212e50',
950: '#000000',
},
}SCSS
$custom: #212e50; $custom-light: #606681; $custom-dark: #000000;
JSON
{
"hex": "#212e50",
"rgb": {
"r": 33,
"g": 46,
"b": 80
},
"hsl": {
"h": 223.404,
"s": 41.593,
"l": 22.157
},
"oklch": {
"l": 0.30777,
"c": 0.06396,
"h": 266.8
},
"luminance": 0.02857
}Semantic roles & 50–950 ramp
primary
#212E50
secondary
#847449
accent
#AF56D1
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C