#333591#333591
#333591 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.148 H 276.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #333591 |
|---|---|
| RGB | rgb(51, 53, 145) |
| HSL | hsl(239, 48%, 38%) |
| HSV | hsv(239, 65%, 57%) |
| CMYK | cmyk(64.8%, 63.4%, 0%, 43.1%) |
| CIE-LAB | lab(27.56, 29.05, -51.17) |
| CIE-LCH | lch(27.56, 58.84, 299.59°) |
| OKLab | oklab(38.73% 0.0156 -0.1474) |
| OKLCH | oklch(38.73% 0.148 276) |
| XYZ | xyz(7.7475, 5.2937, 27.3961) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.19
Darkslateblue
#483D8B
ΔE00 4.33
Ocean Blue
#4F42B5
ΔE00 7.15
Royal
#0C1793
ΔE00 7.82
Blue Blue
#2242C7
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333591 #918F33
analogous
#336491 #333591 #603391
triadic
#333591 #913335 #359133
tetradic
#333591 #913364 #918F33 #339160
square
#333591 #913364 #918F33 #339160
split-complementary
#333591 #916033 #649133
monochromatic
#131436 #232464 #333591 #4447BD #7173CD
Accessibility & contrast
On white
10.20
#333591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#333591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333591
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333591 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #333591; /* rgb */ color: rgb(51, 53, 145); /* oklch */ color: oklch(38.7% 0.148 276.0);
Tailwind
colors: {
custom: {
50: '#766cb2',
500: '#333591',
950: '#000000',
},
}SCSS
$custom: #333591; $custom-light: #766cb2; $custom-dark: #000000;
JSON
{
"hex": "#333591",
"rgb": {
"r": 51,
"g": 53,
"b": 145
},
"hsl": {
"h": 238.723,
"s": 47.959,
"l": 38.431
},
"oklch": {
"l": 0.3873,
"c": 0.14819,
"h": 276
},
"luminance": 0.05294
}Semantic roles & 50–950 ramp
primary
#333591
secondary
#B5B46B
accent
#D550D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80