#333B8A#333B8A
#333B8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.130 H 274.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #333B8A |
|---|---|
| RGB | rgb(51, 59, 138) |
| HSL | hsl(234, 46%, 37%) |
| HSV | hsv(234, 63%, 54%) |
| CMYK | cmyk(63%, 57.2%, 0%, 45.9%) |
| CIE-LAB | lab(28.55, 22.56, -45.22) |
| CIE-LCH | lch(28.55, 50.54, 296.51°) |
| OKLab | oklab(39.29% 0.0099 -0.1298) |
| OKLCH | oklch(39.29% 0.13 274.4) |
| XYZ | xyz(7.5151, 5.6661, 24.7375) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.68
Darkslateblue
#483D8B
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 6.56
Cobalt
#0047AB
ΔE00 7.38
Darkish Blue
#014182
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333B8A #8A8233
analogous
#33678A #333B8A #57338A
triadic
#333B8A #8A333B #3B8A33
tetradic
#333B8A #8A3367 #8A8233 #338A57
square
#333B8A #8A3367 #8A8233 #338A57
split-complementary
#333B8A #8A5733 #678A33
monochromatic
#121531 #22285D #333B8A #444EB7 #6E76C9
Accessibility & contrast
On white
9.84
#333B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#333B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333B8A
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333B8A | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #333b8a; /* rgb */ color: rgb(51, 59, 138); /* oklch */ color: oklch(39.3% 0.130 274.4);
Tailwind
colors: {
custom: {
50: '#7470ad',
500: '#333b8a',
950: '#000000',
},
}SCSS
$custom: #333b8a; $custom-light: #7470ad; $custom-dark: #000000;
JSON
{
"hex": "#333b8a",
"rgb": {
"r": 51,
"g": 59,
"b": 138
},
"hsl": {
"h": 234.483,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.39293,
"c": 0.13022,
"h": 274.4
},
"luminance": 0.05667
}Semantic roles & 50–950 ramp
primary
#333B8A
secondary
#B1AB67
accent
#CA52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F