#333696#333696
#333696 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.154 H 275.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #333696 |
|---|---|
| RGB | rgb(51, 54, 150) |
| HSL | hsl(238, 49%, 39%) |
| HSV | hsv(238, 66%, 59%) |
| CMYK | cmyk(66%, 64%, 0%, 41.2%) |
| CIE-LAB | lab(28.23, 30.17, -53.14) |
| CIE-LCH | lch(28.23, 61.11, 299.59°) |
| OKLab | oklab(39.36% 0.0144 -0.1531) |
| OKLCH | oklch(39.36% 0.154 275.4) |
| XYZ | xyz(8.1876, 5.5435, 29.4868) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.47
Blueberry
#464196
ΔE00 3.99
Darkslateblue
#483D8B
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 6.53
Blue Blue
#2242C7
ΔE00 7.46
Cobalt
#0047AB
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333696 #969333
analogous
#336896 #333696 #623396
triadic
#333696 #963336 #369633
tetradic
#333696 #963368 #969333 #339662
square
#333696 #963368 #969333 #339662
split-complementary
#333696 #966233 #689633
monochromatic
#14153B #232668 #333696 #464AC0 #7477D0
Accessibility & contrast
On white
9.96
#333696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#333696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333696
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333696 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #333696; /* rgb */ color: rgb(51, 54, 150); /* oklch */ color: oklch(39.4% 0.154 275.4);
Tailwind
colors: {
custom: {
50: '#776db6',
500: '#333696',
950: '#000000',
},
}SCSS
$custom: #333696; $custom-light: #776db6; $custom-dark: #000000;
JSON
{
"hex": "#333696",
"rgb": {
"r": 51,
"g": 54,
"b": 150
},
"hsl": {
"h": 238.182,
"s": 49.254,
"l": 39.412
},
"oklch": {
"l": 0.39357,
"c": 0.15383,
"h": 275.4
},
"luminance": 0.05544
}Semantic roles & 50–950 ramp
primary
#333696
secondary
#B8B66D
accent
#D54FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80