#33339F#33339F
#33339F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.170 H 275.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #33339F |
|---|---|
| RGB | rgb(51, 51, 159) |
| HSL | hsl(240, 51%, 41%) |
| HSV | hsv(240, 68%, 62%) |
| CMYK | cmyk(67.9%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(28.31, 35.24, -58.49) |
| CIE-LCH | lch(28.31, 68.29, 301.07°) |
| OKLab | oklab(39.66% 0.016 -0.1689) |
| OKLCH | oklch(39.66% 0.17 275.4) |
| XYZ | xyz(8.8050, 5.5739, 33.4060) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.91
Blueberry
#464196
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.38
Blue Blue
#2242C7
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33339F #9F9F33
analogous
#33699F #33339F #69339F
triadic
#33339F #9F3333 #339F33
tetradic
#33339F #9F3369 #9F9F33 #339F69
square
#33339F #9F3369 #9F9F33 #339F69
split-complementary
#33339F #9F6933 #699F33
monochromatic
#151542 #242471 #33339F #4A4AC5 #7979D4
Accessibility & contrast
On white
9.93
#33339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#33339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33339F
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33339F | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #33339f; /* rgb */ color: rgb(51, 51, 159); /* oklch */ color: oklch(39.7% 0.170 275.4);
Tailwind
colors: {
custom: {
50: '#796bbc',
500: '#33339f',
950: '#000000',
},
}SCSS
$custom: #33339f; $custom-light: #796bbc; $custom-dark: #000000;
JSON
{
"hex": "#33339f",
"rgb": {
"r": 51,
"g": 51,
"b": 159
},
"hsl": {
"h": 240,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.39662,
"c": 0.16963,
"h": 275.4
},
"luminance": 0.05575
}Semantic roles & 50–950 ramp
primary
#33339F
secondary
#BCBC71
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81