#333F96#333F96
#333F96 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.142 H 272.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #333F96 |
|---|---|
| RGB | rgb(51, 63, 150) |
| HSL | hsl(233, 49%, 39%) |
| HSV | hsv(233, 66%, 59%) |
| CMYK | cmyk(66%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(30.54, 24.24, -49.37) |
| CIE-LCH | lch(30.54, 55.00, 296.15°) |
| OKLab | oklab(41.07% 0.0064 -0.142) |
| OKLCH | oklch(41.07% 0.142 272.6) |
| XYZ | xyz(8.6459, 6.4601, 29.6395) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.25
Sapphire (survey)
#2138AB
ΔE00 4.06
Darkslateblue
#483D8B
ΔE00 4.72
Cobalt
#0047AB
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F96 #968A33
analogous
#337196 #333F96 #593396
triadic
#333F96 #96333F #3F9633
tetradic
#333F96 #963371 #968A33 #339659
square
#333F96 #963371 #968A33 #339659
split-complementary
#333F96 #965933 #719633
monochromatic
#14193B #232C68 #333F96 #4655C0 #747FD0
Accessibility & contrast
On white
9.16
#333F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#333F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F96
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F96 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #333f96; /* rgb */ color: rgb(51, 63, 150); /* oklch */ color: oklch(41.1% 0.142 272.6);
Tailwind
colors: {
custom: {
50: '#7673b6',
500: '#333f96',
950: '#000000',
},
}SCSS
$custom: #333f96; $custom-light: #7673b6; $custom-dark: #000000;
JSON
{
"hex": "#333f96",
"rgb": {
"r": 51,
"g": 63,
"b": 150
},
"hsl": {
"h": 232.727,
"s": 49.254,
"l": 39.412
},
"oklch": {
"l": 0.41069,
"c": 0.14214,
"h": 272.6
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#333F96
secondary
#B8AF6D
accent
#C84FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80