#333C96#333C96
#333C96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.146 H 273.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #333C96 |
|---|---|
| RGB | rgb(51, 60, 150) |
| HSL | hsl(235, 49%, 39%) |
| HSV | hsv(235, 66%, 59%) |
| CMYK | cmyk(66%, 60%, 0%, 41.2%) |
| CIE-LAB | lab(29.75, 26.24, -50.65) |
| CIE-LCH | lch(29.75, 57.04, 297.38°) |
| OKLab | oklab(40.48% 0.0091 -0.1458) |
| OKLCH | oklch(40.48% 0.146 273.6) |
| XYZ | xyz(8.4843, 6.1368, 29.5857) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 3.62
Darkslateblue
#483D8B
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 6.34
Cobalt
#0047AB
ΔE00 6.35
Cobalt (survey)
#1E488F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C96 #968D33
analogous
#336E96 #333C96 #5B3396
triadic
#333C96 #96333C #3C9633
tetradic
#333C96 #96336E #968D33 #33965B
square
#333C96 #96336E #968D33 #33965B
split-complementary
#333C96 #965B33 #6E9633
monochromatic
#14173B #232A68 #333C96 #4651C0 #747CD0
Accessibility & contrast
On white
9.43
#333C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#333C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C96
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C96 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #333c96; /* rgb */ color: rgb(51, 60, 150); /* oklch */ color: oklch(40.5% 0.146 273.6);
Tailwind
colors: {
custom: {
50: '#7771b6',
500: '#333c96',
950: '#000000',
},
}SCSS
$custom: #333c96; $custom-light: #7771b6; $custom-dark: #000000;
JSON
{
"hex": "#333c96",
"rgb": {
"r": 51,
"g": 60,
"b": 150
},
"hsl": {
"h": 234.545,
"s": 49.254,
"l": 39.412
},
"oklch": {
"l": 0.40482,
"c": 0.14609,
"h": 273.6
},
"luminance": 0.06138
}Semantic roles & 50–950 ramp
primary
#333C96
secondary
#B8B16D
accent
#CC4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80