#333B91#333B91
#333B91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.140 H 274.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #333B91 |
|---|---|
| RGB | rgb(51, 59, 145) |
| HSL | hsl(235, 48%, 38%) |
| HSV | hsv(235, 65%, 57%) |
| CMYK | cmyk(64.8%, 59.3%, 0%, 43.1%) |
| CIE-LAB | lab(29.10, 25.09, -48.66) |
| CIE-LCH | lch(29.10, 54.75, 297.28°) |
| OKLab | oklab(39.87% 0.0101 -0.1399) |
| OKLCH | oklch(39.87% 0.14 274.1) |
| XYZ | xyz(8.0384, 5.8754, 27.4930) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.32
Darkslateblue
#483D8B
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.25
Cobalt (survey)
#1E488F
ΔE00 6.67
Cobalt
#0047AB
ΔE00 6.86
Ocean Blue
#4F42B5
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333B91 #918933
analogous
#336A91 #333B91 #5A3391
triadic
#333B91 #91333B #3B9133
tetradic
#333B91 #91336A #918933 #33915A
square
#333B91 #91336A #918933 #33915A
split-complementary
#333B91 #915A33 #6A9133
monochromatic
#131636 #232964 #333B91 #444EBD #7179CD
Accessibility & contrast
On white
9.65
#333B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#333B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333B91
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333B91 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #333b91; /* rgb */ color: rgb(51, 59, 145); /* oklch */ color: oklch(39.9% 0.140 274.1);
Tailwind
colors: {
custom: {
50: '#7670b2',
500: '#333b91',
950: '#000000',
},
}SCSS
$custom: #333b91; $custom-light: #7670b2; $custom-dark: #000000;
JSON
{
"hex": "#333b91",
"rgb": {
"r": 51,
"g": 59,
"b": 145
},
"hsl": {
"h": 234.894,
"s": 47.959,
"l": 38.431
},
"oklch": {
"l": 0.39867,
"c": 0.14031,
"h": 274.1
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#333B91
secondary
#B5AF6B
accent
#CC50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80