#212945#212945
#212945 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.8% C 0.053 H 270.7°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #212945 |
|---|---|
| RGB | rgb(33, 41, 69) |
| HSL | hsl(227, 35%, 20%) |
| HSV | hsv(227, 52%, 27%) |
| CMYK | cmyk(52.2%, 40.6%, 0%, 72.9%) |
| CIE-LAB | lab(17.17, 5.59, -18.70) |
| CIE-LCH | lch(17.17, 19.52, 286.65°) |
| OKLab | oklab(28.8% 0.0007 -0.0526) |
| OKLCH | oklch(28.8% 0.053 270.7) |
| XYZ | xyz(2.4940, 2.3387, 5.9491) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.31
Navy (survey)
#01153E
ΔE00 7.57
Dark
#1B2431
ΔE00 7.70
Marine
#042E60
ΔE00 7.72
Navy Blue (survey)
#001146
ΔE00 9.64
Marine Blue
#01386A
ΔE00 10.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212945 #453D21
analogous
#213B45 #212945 #2B2145
triadic
#212945 #452129 #294521
tetradic
#212945 #45213B #453D21 #21452B
square
#212945 #45213B #453D21 #21452B
split-complementary
#212945 #452B21 #3B4521
monochromatic
#0A0C15 #0D101C #212945 #35426E #495A98
Accessibility & contrast
On white
14.31
#212945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#212945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212945
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212945 | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#1B2944
Tritanopia (blue-blind)
#142F33
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #212945; /* rgb */ color: rgb(33, 41, 69); /* oklch */ color: oklch(28.8% 0.053 270.7);
Tailwind
colors: {
custom: {
50: '#5f6279',
500: '#212945',
950: '#000000',
},
}SCSS
$custom: #212945; $custom-light: #5f6279; $custom-dark: #000000;
JSON
{
"hex": "#212945",
"rgb": {
"r": 33,
"g": 41,
"b": 69
},
"hsl": {
"h": 226.667,
"s": 35.294,
"l": 20
},
"oklch": {
"l": 0.28797,
"c": 0.05265,
"h": 270.7
},
"luminance": 0.02339
}Semantic roles & 50–950 ramp
primary
#212945
secondary
#796E49
accent
#B35CCB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B