#333C91#333C91
#333C91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.139 H 273.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #333C91 |
|---|---|
| RGB | rgb(51, 60, 145) |
| HSL | hsl(234, 48%, 38%) |
| HSV | hsv(234, 65%, 57%) |
| CMYK | cmyk(64.8%, 58.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.36, 24.43, -48.23) |
| CIE-LCH | lch(29.36, 54.06, 296.86°) |
| OKLab | oklab(40.06% 0.0091 -0.1387) |
| OKLCH | oklch(40.06% 0.139 273.8) |
| XYZ | xyz(8.0902, 5.9792, 27.5103) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.28
Darkslateblue
#483D8B
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 6.37
Cobalt
#0047AB
ΔE00 6.63
Ocean Blue
#4F42B5
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C91 #918833
analogous
#336B91 #333C91 #593391
triadic
#333C91 #91333C #3C9133
tetradic
#333C91 #91336B #918833 #339159
square
#333C91 #91336B #918833 #339159
split-complementary
#333C91 #915933 #6B9133
monochromatic
#131736 #232964 #333C91 #4450BD #717ACD
Accessibility & contrast
On white
9.56
#333C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#333C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C91
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C91 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #333c91; /* rgb */ color: rgb(51, 60, 145); /* oklch */ color: oklch(40.1% 0.139 273.8);
Tailwind
colors: {
custom: {
50: '#7571b2',
500: '#333c91',
950: '#000000',
},
}SCSS
$custom: #333c91; $custom-light: #7571b2; $custom-dark: #000000;
JSON
{
"hex": "#333c91",
"rgb": {
"r": 51,
"g": 60,
"b": 145
},
"hsl": {
"h": 234.255,
"s": 47.959,
"l": 38.431
},
"oklch": {
"l": 0.40064,
"c": 0.13898,
"h": 273.8
},
"luminance": 0.0598
}Semantic roles & 50–950 ramp
primary
#333C91
secondary
#B5AE6B
accent
#CB50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80