#333F97#333F97
#333F97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.144 H 272.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #333F97 |
|---|---|
| RGB | rgb(51, 63, 151) |
| HSL | hsl(233, 50%, 40%) |
| HSV | hsv(233, 66%, 59%) |
| CMYK | cmyk(66.2%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.62, 24.61, -49.85) |
| CIE-LCH | lch(30.62, 55.60, 296.27°) |
| OKLab | oklab(41.15% 0.0064 -0.1434) |
| OKLCH | oklch(41.15% 0.144 272.6) |
| XYZ | xyz(8.7268, 6.4924, 30.0654) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.25
Sapphire (survey)
#2138AB
ΔE00 3.92
Darkslateblue
#483D8B
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.62
Cobalt (survey)
#1E488F
ΔE00 5.74
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F97 #978B33
analogous
#337197 #333F97 #593397
triadic
#333F97 #97333F #3F9733
tetradic
#333F97 #973371 #978B33 #339759
square
#333F97 #973371 #978B33 #339759
split-complementary
#333F97 #975933 #719733
monochromatic
#14193C #242C69 #333F97 #4755C1 #747FD0
Accessibility & contrast
On white
9.14
#333F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#333F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F97
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F97 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #333f97; /* rgb */ color: rgb(51, 63, 151); /* oklch */ color: oklch(41.2% 0.144 272.6);
Tailwind
colors: {
custom: {
50: '#7773b6',
500: '#333f97',
950: '#000000',
},
}SCSS
$custom: #333f97; $custom-light: #7773b6; $custom-dark: #000000;
JSON
{
"hex": "#333f97",
"rgb": {
"r": 51,
"g": 63,
"b": 151
},
"hsl": {
"h": 232.8,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.41151,
"c": 0.14356,
"h": 272.6
},
"luminance": 0.06493
}Semantic roles & 50–950 ramp
primary
#333F97
secondary
#B8AF6D
accent
#C84FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80