#333C95#333C95
#333C95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.145 H 273.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #333C95 |
|---|---|
| RGB | rgb(51, 60, 149) |
| HSL | hsl(234, 49%, 39%) |
| HSV | hsv(234, 66%, 58%) |
| CMYK | cmyk(65.8%, 59.7%, 0%, 41.6%) |
| CIE-LAB | lab(29.68, 25.88, -50.17) |
| CIE-LCH | lch(29.68, 56.45, 297.28°) |
| OKLab | oklab(40.4% 0.0091 -0.1444) |
| OKLCH | oklch(40.4% 0.145 273.6) |
| XYZ | xyz(8.4041, 6.1047, 29.1634) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 3.76
Darkslateblue
#483D8B
ΔE00 4.38
Cobalt
#0047AB
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 6.47
Cobalt (survey)
#1E488F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C95 #958C33
analogous
#336D95 #333C95 #5B3395
triadic
#333C95 #95333C #3C9533
tetradic
#333C95 #95336D #958C33 #33955B
square
#333C95 #95336D #958C33 #33955B
split-complementary
#333C95 #955B33 #6D9533
monochromatic
#14173A #232A67 #333C95 #4651C0 #737CCF
Accessibility & contrast
On white
9.46
#333C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#333C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C95
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C95 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #333c95; /* rgb */ color: rgb(51, 60, 149); /* oklch */ color: oklch(40.4% 0.145 273.6);
Tailwind
colors: {
custom: {
50: '#7671b5',
500: '#333c95',
950: '#000000',
},
}SCSS
$custom: #333c95; $custom-light: #7671b5; $custom-dark: #000000;
JSON
{
"hex": "#333c95",
"rgb": {
"r": 51,
"g": 60,
"b": 149
},
"hsl": {
"h": 234.49,
"s": 49,
"l": 39.216
},
"oklch": {
"l": 0.40397,
"c": 0.14467,
"h": 273.6
},
"luminance": 0.06105
}Semantic roles & 50–950 ramp
primary
#333C95
secondary
#B7B06C
accent
#CC4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80