#333797#333797
#333797 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.154 H 275.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #333797 |
|---|---|
| RGB | rgb(51, 55, 151) |
| HSL | hsl(238, 50%, 40%) |
| HSV | hsv(238, 66%, 59%) |
| CMYK | cmyk(66.2%, 63.6%, 0%, 40.8%) |
| CIE-LAB | lab(28.56, 29.88, -53.20) |
| CIE-LCH | lch(28.56, 61.02, 299.32°) |
| OKLab | oklab(39.63% 0.0135 -0.1533) |
| OKLCH | oklch(39.63% 0.154 275) |
| XYZ | xyz(8.3155, 5.6698, 29.9283) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Blueberry
#464196
ΔE00 3.83
Darkslateblue
#483D8B
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 7.21
Cobalt
#0047AB
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333797 #979333
analogous
#336997 #333797 #613397
triadic
#333797 #973337 #379733
tetradic
#333797 #973369 #979333 #339761
square
#333797 #973369 #979333 #339761
split-complementary
#333797 #976133 #699733
monochromatic
#14163C #242669 #333797 #474BC1 #7478D0
Accessibility & contrast
On white
9.84
#333797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#333797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333797
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333797 | 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)
#00489A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #333797; /* rgb */ color: rgb(51, 55, 151); /* oklch */ color: oklch(39.6% 0.154 275.0);
Tailwind
colors: {
custom: {
50: '#776eb6',
500: '#333797',
950: '#000000',
},
}SCSS
$custom: #333797; $custom-light: #776eb6; $custom-dark: #000000;
JSON
{
"hex": "#333797",
"rgb": {
"r": 51,
"g": 55,
"b": 151
},
"hsl": {
"h": 237.6,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.39628,
"c": 0.15393,
"h": 275
},
"luminance": 0.05671
}Semantic roles & 50–950 ramp
primary
#333797
secondary
#B8B56D
accent
#D44FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80