#212099#212099
#212099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.187 H 271.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #212099 |
|---|---|
| RGB | rgb(33, 32, 153) |
| HSL | hsl(240, 65%, 36%) |
| HSV | hsv(240, 79%, 60%) |
| CMYK | cmyk(78.4%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(22.50, 42.55, -64.45) |
| CIE-LCH | lch(22.50, 77.23, 303.44°) |
| OKLab | oklab(35.02% 0.0054 -0.1866) |
| OKLCH | oklch(35.02% 0.187 271.7) |
| XYZ | xyz(6.8915, 3.6555, 30.4732) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.35
Cobalt Blue
#030AA7
ΔE00 3.93
Royal Blue (survey)
#0504AA
ΔE00 4.50
Indigo Blue
#3A18B1
ΔE00 4.53
Ultramarine
#2000B1
ΔE00 5.00
Darkblue
#00008B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212099 #989920
analogous
#205C99 #212099 #5E2099
triadic
#212099 #992120 #209921
tetradic
#212099 #99205C #989920 #20995E
square
#212099 #99205C #989920 #20995E
split-complementary
#212099 #995E20 #5C9920
monochromatic
#0B0B34 #161566 #212099 #2C2BCC #5957DC
Accessibility & contrast
On white
12.13
#212099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#212099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212099
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212099 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #212099; /* rgb */ color: rgb(33, 32, 153); /* oklch */ color: oklch(35.0% 0.187 271.7);
Tailwind
colors: {
custom: {
50: '#735eb8',
500: '#212099',
950: '#000000',
},
}SCSS
$custom: #212099; $custom-light: #735eb8; $custom-dark: #000000;
JSON
{
"hex": "#212099",
"rgb": {
"r": 33,
"g": 32,
"b": 153
},
"hsl": {
"h": 240.496,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.35022,
"c": 0.18664,
"h": 271.7
},
"luminance": 0.03656
}Semantic roles & 50–950 ramp
primary
#212099
secondary
#BFC055
accent
#E83FE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981