#212183#212183
#212183 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.158 H 273.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #212183 |
|---|---|
| RGB | rgb(33, 33, 131) |
| HSL | hsl(240, 60%, 32%) |
| HSV | hsv(240, 75%, 51%) |
| CMYK | cmyk(74.8%, 74.8%, 0%, 48.6%) |
| CIE-LAB | lab(20.24, 34.41, -54.48) |
| CIE-LCH | lch(20.24, 64.44, 302.28°) |
| OKLab | oklab(32.7% 0.0093 -0.1576) |
| OKLCH | oklch(32.7% 0.158 273.4) |
| XYZ | xyz(5.2664, 3.0492, 21.7793) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Royal
#0C1793
ΔE00 3.50
Darkblue
#00008B
ΔE00 6.22
Dark Royal Blue
#02066F
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 6.40
Navy
#000080
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212183 #838321
analogous
#215283 #212183 #522183
triadic
#212183 #832121 #218321
tetradic
#212183 #832152 #838321 #218352
square
#212183 #832152 #838321 #218352
split-complementary
#212183 #835221 #528321
monochromatic
#080821 #151552 #212183 #2D2DB4 #4C4CD2
Accessibility & contrast
On white
13.04
#212183 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#212183 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212183
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212183 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212183 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #212183; /* rgb */ color: rgb(33, 33, 131); /* oklch */ color: oklch(32.7% 0.158 273.4);
Tailwind
colors: {
custom: {
50: '#6d5da8',
500: '#212183',
950: '#000000',
},
}SCSS
$custom: #212183; $custom-light: #6d5da8; $custom-dark: #000000;
JSON
{
"hex": "#212183",
"rgb": {
"r": 33,
"g": 33,
"b": 131
},
"hsl": {
"h": 240,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.32697,
"c": 0.15788,
"h": 273.4
},
"luminance": 0.0305
}Semantic roles & 50–950 ramp
primary
#212183
secondary
#B5B54B
accent
#E345E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F