#33218E#33218E
#33218E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.168 H 281.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #33218E |
|---|---|
| RGB | rgb(51, 33, 142) |
| HSL | hsl(250, 62%, 34%) |
| HSV | hsv(250, 77%, 56%) |
| CMYK | cmyk(64.1%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(22.81, 40.20, -57.09) |
| CIE-LCH | lch(22.81, 69.83, 305.15°) |
| OKLab | oklab(35.22% 0.0319 -0.1647) |
| OKLCH | oklch(35.22% 0.168 281) |
| XYZ | xyz(6.7900, 3.7440, 25.9508) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.75
Indigo Blue
#3A18B1
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.30
Cobalt Blue
#030AA7
ΔE00 5.52
Midnight Blue
#191970
ΔE00 5.60
Royal Blue (survey)
#0504AA
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33218E #7C8E21
analogous
#21468E #33218E #6A218E
triadic
#33218E #8E3321 #218E33
tetradic
#33218E #8E2146 #7C8E21 #218E6A
square
#33218E #8E2146 #7C8E21 #218E6A
split-complementary
#33218E #8E6A21 #468E21
monochromatic
#0F0A2B #21155C #33218E #452DC0 #6852D7
Accessibility & contrast
On white
12.01
#33218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#33218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33218E
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33218E | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #33218e; /* rgb */ color: rgb(51, 33, 142); /* oklch */ color: oklch(35.2% 0.168 281.0);
Tailwind
colors: {
custom: {
50: '#775fb0',
500: '#33218e',
950: '#000000',
},
}SCSS
$custom: #33218e; $custom-light: #775fb0; $custom-dark: #000000;
JSON
{
"hex": "#33218e",
"rgb": {
"r": 51,
"g": 33,
"b": 142
},
"hsl": {
"h": 249.908,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.35224,
"c": 0.16778,
"h": 281
},
"luminance": 0.03745
}Semantic roles & 50–950 ramp
primary
#33218E
secondary
#A9BA50
accent
#E542CA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980