#33319E#33319E
#33319E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.171 H 275.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #33319E |
|---|---|
| RGB | rgb(51, 49, 158) |
| HSL | hsl(241, 53%, 41%) |
| HSV | hsv(241, 69%, 62%) |
| CMYK | cmyk(67.7%, 69%, 0%, 38%) |
| CIE-LAB | lab(27.76, 36.14, -58.79) |
| CIE-LCH | lch(27.76, 69.01, 301.58°) |
| OKLab | oklab(39.24% 0.0176 -0.1697) |
| OKLCH | oklch(39.24% 0.171 275.9) |
| XYZ | xyz(8.6331, 5.3683, 32.9224) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Blueberry
#464196
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.37
Royal
#0C1793
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33319E #9C9E31
analogous
#31659E #33319E #69319E
triadic
#33319E #9E3331 #319E33
tetradic
#33319E #9E3165 #9C9E31 #319E69
square
#33319E #9E3165 #9C9E31 #319E69
split-complementary
#33319E #9E6931 #659E31
monochromatic
#151441 #24236F #33319E #4946C6 #7775D4
Accessibility & contrast
On white
10.13
#33319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#33319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33319E
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33319E | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #33319e; /* rgb */ color: rgb(51, 49, 158); /* oklch */ color: oklch(39.2% 0.171 275.9);
Tailwind
colors: {
custom: {
50: '#796abc',
500: '#33319e',
950: '#000000',
},
}SCSS
$custom: #33319e; $custom-light: #796abc; $custom-dark: #000000;
JSON
{
"hex": "#33319e",
"rgb": {
"r": 51,
"g": 49,
"b": 158
},
"hsl": {
"h": 241.101,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.39235,
"c": 0.17065,
"h": 275.9
},
"luminance": 0.05369
}Semantic roles & 50–950 ramp
primary
#33319E
secondary
#BBBC6E
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81