#33317C#33317C
#33317C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.124 H 279.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #33317C |
|---|---|
| RGB | rgb(51, 49, 124) |
| HSL | hsl(242, 43%, 34%) |
| HSV | hsv(242, 60%, 49%) |
| CMYK | cmyk(58.9%, 60.5%, 0%, 51.4%) |
| CIE-LAB | lab(24.81, 24.27, -42.53) |
| CIE-LCH | lch(24.81, 48.97, 299.72°) |
| OKLab | oklab(36.17% 0.0203 -0.122) |
| OKLCH | oklch(36.17% 0.124 279.4) |
| XYZ | xyz(6.1005, 4.3553, 19.5841) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.71
Blueberry
#464196
ΔE00 5.95
Midnight Blue
#191970
ΔE00 6.85
Sapphire (survey)
#2138AB
ΔE00 7.62
Marine
#042E60
ΔE00 8.43
Royal
#0C1793
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33317C #7A7C31
analogous
#31557C #33317C #59317C
triadic
#33317C #7C3331 #317C33
tetradic
#33317C #7C3155 #7A7C31 #317C59
square
#33317C #7C3155 #7A7C31 #317C59
split-complementary
#33317C #7C5931 #557C31
monochromatic
#0F0E24 #212050 #33317C #4542A8 #6865C2
Accessibility & contrast
On white
11.22
#33317C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#33317C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33317C
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33317C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33317C | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#0A4351
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #33317c; /* rgb */ color: rgb(51, 49, 124); /* oklch */ color: oklch(36.2% 0.124 279.4);
Tailwind
colors: {
custom: {
50: '#7269a2',
500: '#33317c',
950: '#000000',
},
}SCSS
$custom: #33317c; $custom-light: #7269a2; $custom-dark: #000000;
JSON
{
"hex": "#33317c",
"rgb": {
"r": 51,
"g": 49,
"b": 124
},
"hsl": {
"h": 241.6,
"s": 43.353,
"l": 33.922
},
"oklch": {
"l": 0.36169,
"c": 0.12368,
"h": 279.4
},
"luminance": 0.04356
}Semantic roles & 50–950 ramp
primary
#33317C
secondary
#A8AA5F
accent
#D355D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F