#333A91#333A91
#333A91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.142 H 274.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #333A91 |
|---|---|
| RGB | rgb(51, 58, 145) |
| HSL | hsl(236, 48%, 38%) |
| HSV | hsv(236, 65%, 57%) |
| CMYK | cmyk(64.8%, 60%, 0%, 43.1%) |
| CIE-LAB | lab(28.83, 25.76, -49.09) |
| CIE-LCH | lch(28.83, 55.43, 297.69°) |
| OKLab | oklab(39.67% 0.011 -0.1412) |
| OKLCH | oklch(39.67% 0.142 274.5) |
| XYZ | xyz(7.9874, 5.7736, 27.4761) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.39
Darkslateblue
#483D8B
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.18
Ocean Blue
#4F42B5
ΔE00 6.95
Cobalt (survey)
#1E488F
ΔE00 6.98
Cobalt
#0047AB
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333A91 #918A33
analogous
#336991 #333A91 #5B3391
triadic
#333A91 #91333A #3A9133
tetradic
#333A91 #913369 #918A33 #33915B
square
#333A91 #913369 #918A33 #33915B
split-complementary
#333A91 #915B33 #699133
monochromatic
#131636 #232864 #333A91 #444DBD #7178CD
Accessibility & contrast
On white
9.75
#333A91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#333A91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333A91
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333A91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333A91 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #333a91; /* rgb */ color: rgb(51, 58, 145); /* oklch */ color: oklch(39.7% 0.142 274.5);
Tailwind
colors: {
custom: {
50: '#7670b2',
500: '#333a91',
950: '#000000',
},
}SCSS
$custom: #333a91; $custom-light: #7670b2; $custom-dark: #000000;
JSON
{
"hex": "#333a91",
"rgb": {
"r": 51,
"g": 58,
"b": 145
},
"hsl": {
"h": 235.532,
"s": 47.959,
"l": 38.431
},
"oklch": {
"l": 0.39673,
"c": 0.14164,
"h": 274.5
},
"luminance": 0.05774
}Semantic roles & 50–950 ramp
primary
#333A91
secondary
#B5B06B
accent
#CD50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80