#33399E#33399E
#33399E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.161 H 274.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #33399E |
|---|---|
| RGB | rgb(51, 57, 158) |
| HSL | hsl(237, 51%, 41%) |
| HSV | hsv(237, 68%, 62%) |
| CMYK | cmyk(67.7%, 63.9%, 0%, 38%) |
| CIE-LAB | lab(29.66, 31.08, -55.68) |
| CIE-LCH | lch(29.66, 63.77, 299.17°) |
| OKLab | oklab(40.62% 0.0115 -0.1606) |
| OKLCH | oklch(40.62% 0.161 274.1) |
| XYZ | xyz(8.9979, 6.0979, 33.0439) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 3.81
Darkslateblue
#483D8B
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 6.08
Cobalt
#0047AB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33399E #9E9833
analogous
#336E9E #33399E #62339E
triadic
#33399E #9E3339 #399E33
tetradic
#33399E #9E336E #9E9833 #339E62
square
#33399E #9E336E #9E9833 #339E62
split-complementary
#33399E #9E6233 #6E9E33
monochromatic
#151841 #242870 #33399E #4A51C4 #787DD3
Accessibility & contrast
On white
9.46
#33399E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#33399E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33399E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33399E | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #33399e; /* rgb */ color: rgb(51, 57, 158); /* oklch */ color: oklch(40.6% 0.161 274.1);
Tailwind
colors: {
custom: {
50: '#786fbc',
500: '#33399e',
950: '#000000',
},
}SCSS
$custom: #33399e; $custom-light: #786fbc; $custom-dark: #000000;
JSON
{
"hex": "#33399e",
"rgb": {
"r": 51,
"g": 57,
"b": 158
},
"hsl": {
"h": 236.636,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.40617,
"c": 0.16101,
"h": 274.1
},
"luminance": 0.06099
}Semantic roles & 50–950 ramp
primary
#33399E
secondary
#BCB871
accent
#D34DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81