#212095#212095
#212095 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.182 H 272.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #212095 |
|---|---|
| RGB | rgb(33, 32, 149) |
| HSL | hsl(241, 65%, 35%) |
| HSV | hsv(241, 79%, 58%) |
| CMYK | cmyk(77.9%, 78.5%, 0%, 41.6%) |
| CIE-LAB | lab(22.04, 41.22, -62.75) |
| CIE-LCH | lch(22.04, 75.07, 303.30°) |
| OKLab | oklab(34.56% 0.0063 -0.1816) |
| OKLCH | oklch(34.56% 0.182 272) |
| XYZ | xyz(6.5667, 3.5256, 28.7624) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.20
Cobalt Blue
#030AA7
ΔE00 4.22
Royal Blue (survey)
#0504AA
ΔE00 4.80
Indigo Blue
#3A18B1
ΔE00 5.01
Ultramarine
#2000B1
ΔE00 5.39
Darkblue
#00008B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212095 #949520
analogous
#205995 #212095 #5B2095
triadic
#212095 #952120 #209521
tetradic
#212095 #952059 #949520 #20955B
square
#212095 #952059 #949520 #20955B
split-complementary
#212095 #955B20 #599520
monochromatic
#0B0A30 #161563 #212095 #2C2BC7 #5655DA
Accessibility & contrast
On white
12.32
#212095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#212095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212095
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212095 | 1.00 | 12.32 | 1.71 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #212095; /* rgb */ color: rgb(33, 32, 149); /* oklch */ color: oklch(34.6% 0.182 272.0);
Tailwind
colors: {
custom: {
50: '#725eb5',
500: '#212095',
950: '#000000',
},
}SCSS
$custom: #212095; $custom-light: #725eb5; $custom-dark: #000000;
JSON
{
"hex": "#212095",
"rgb": {
"r": 33,
"g": 32,
"b": 149
},
"hsl": {
"h": 240.513,
"s": 64.641,
"l": 35.49
},
"oklch": {
"l": 0.34563,
"c": 0.18174,
"h": 272
},
"luminance": 0.03526
}Semantic roles & 50–950 ramp
primary
#212095
secondary
#BDBE53
accent
#E840E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980