#333B9E#333B9E
#333B9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.159 H 273.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #333B9E |
|---|---|
| RGB | rgb(51, 59, 158) |
| HSL | hsl(236, 51%, 41%) |
| HSV | hsv(236, 68%, 62%) |
| CMYK | cmyk(67.7%, 62.7%, 0%, 38%) |
| CIE-LAB | lab(30.16, 29.78, -54.87) |
| CIE-LCH | lch(30.16, 62.43, 298.49°) |
| OKLab | oklab(40.98% 0.0098 -0.1582) |
| OKLCH | oklch(40.98% 0.159 273.6) |
| XYZ | xyz(9.0987, 6.2995, 33.0776) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.51
Blueberry
#464196
ΔE00 3.57
Darkslateblue
#483D8B
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.87
Cobalt
#0047AB
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333B9E #9E9633
analogous
#33709E #333B9E #60339E
triadic
#333B9E #9E333B #3B9E33
tetradic
#333B9E #9E3370 #9E9633 #339E60
square
#333B9E #9E3370 #9E9633 #339E60
split-complementary
#333B9E #9E6033 #709E33
monochromatic
#151841 #242A70 #333B9E #4A53C4 #787FD3
Accessibility & contrast
On white
9.29
#333B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#333B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333B9E
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333B9E | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #333b9e; /* rgb */ color: rgb(51, 59, 158); /* oklch */ color: oklch(41.0% 0.159 273.6);
Tailwind
colors: {
custom: {
50: '#7871bb',
500: '#333b9e',
950: '#000000',
},
}SCSS
$custom: #333b9e; $custom-light: #7871bb; $custom-dark: #000000;
JSON
{
"hex": "#333b9e",
"rgb": {
"r": 51,
"g": 59,
"b": 158
},
"hsl": {
"h": 235.514,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.40983,
"c": 0.1585,
"h": 273.6
},
"luminance": 0.063
}Semantic roles & 50–950 ramp
primary
#333B9E
secondary
#BCB671
accent
#D04DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81