#33399F#33399F
#33399F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.162 H 274.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #33399F |
|---|---|
| RGB | rgb(51, 57, 159) |
| HSL | hsl(237, 51%, 41%) |
| HSV | hsv(237, 68%, 62%) |
| CMYK | cmyk(67.9%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.74, 31.43, -56.15) |
| CIE-LCH | lch(29.74, 64.35, 299.24°) |
| OKLab | oklab(40.71% 0.0114 -0.162) |
| OKLCH | oklch(40.71% 0.162 274) |
| XYZ | xyz(9.0843, 6.1324, 33.4991) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 3.87
Darkslateblue
#483D8B
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.96
Cobalt
#0047AB
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33399F #9F9933
analogous
#336F9F #33399F #63339F
triadic
#33399F #9F3339 #399F33
tetradic
#33399F #9F336F #9F9933 #339F63
square
#33399F #9F336F #9F9933 #339F63
split-complementary
#33399F #9F6333 #6F9F33
monochromatic
#151842 #242871 #33399F #4A51C5 #797ED4
Accessibility & contrast
On white
9.43
#33399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#33399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33399F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33399F | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #33399f; /* rgb */ color: rgb(51, 57, 159); /* oklch */ color: oklch(40.7% 0.162 274.0);
Tailwind
colors: {
custom: {
50: '#796fbc',
500: '#33399f',
950: '#000000',
},
}SCSS
$custom: #33399f; $custom-light: #796fbc; $custom-dark: #000000;
JSON
{
"hex": "#33399f",
"rgb": {
"r": 51,
"g": 57,
"b": 159
},
"hsl": {
"h": 236.667,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.40707,
"c": 0.16236,
"h": 274
},
"luminance": 0.06133
}Semantic roles & 50–950 ramp
primary
#33399F
secondary
#BCB871
accent
#D34DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81