#33319F#33319F
#33319F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.172 H 275.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #33319F |
|---|---|
| RGB | rgb(51, 49, 159) |
| HSL | hsl(241, 53%, 41%) |
| HSV | hsv(241, 69%, 62%) |
| CMYK | cmyk(67.9%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.85, 36.48, -59.24) |
| CIE-LCH | lch(27.85, 69.58, 301.62°) |
| OKLab | oklab(39.33% 0.0175 -0.1711) |
| OKLCH | oklch(39.33% 0.172 275.8) |
| XYZ | xyz(8.7195, 5.4029, 33.3775) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Blueberry
#464196
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.30
Royal
#0C1793
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33319F #9D9F31
analogous
#31669F #33319F #6A319F
triadic
#33319F #9F3331 #319F33
tetradic
#33319F #9F3166 #9D9F31 #319F6A
square
#33319F #9F3166 #9D9F31 #319F6A
split-complementary
#33319F #9F6A31 #669F31
monochromatic
#151441 #242370 #33319F #4947C6 #7776D5
Accessibility & contrast
On white
10.09
#33319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#33319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33319F
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33319F | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #33319f; /* rgb */ color: rgb(51, 49, 159); /* oklch */ color: oklch(39.3% 0.172 275.8);
Tailwind
colors: {
custom: {
50: '#796abc',
500: '#33319f',
950: '#000000',
},
}SCSS
$custom: #33319f; $custom-light: #796abc; $custom-dark: #000000;
JSON
{
"hex": "#33319f",
"rgb": {
"r": 51,
"g": 49,
"b": 159
},
"hsl": {
"h": 241.091,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.39331,
"c": 0.17196,
"h": 275.8
},
"luminance": 0.05404
}Semantic roles & 50–950 ramp
primary
#33319F
secondary
#BBBD6F
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81