#333B95#333B95
#333B95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.146 H 273.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #333B95 |
|---|---|
| RGB | rgb(51, 59, 149) |
| HSL | hsl(235, 49%, 39%) |
| HSV | hsv(235, 66%, 58%) |
| CMYK | cmyk(65.8%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.41, 26.54, -50.59) |
| CIE-LCH | lch(29.41, 57.13, 297.68°) |
| OKLab | oklab(40.2% 0.0101 -0.1456) |
| OKLCH | oklch(40.2% 0.146 273.9) |
| XYZ | xyz(8.3522, 6.0009, 29.1461) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.27
Sapphire (survey)
#2138AB
ΔE00 3.67
Darkslateblue
#483D8B
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 6.45
Cobalt
#0047AB
ΔE00 6.64
Cobalt (survey)
#1E488F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333B95 #958D33
analogous
#336C95 #333B95 #5C3395
triadic
#333B95 #95333B #3B9533
tetradic
#333B95 #95336C #958D33 #33955C
square
#333B95 #95336C #958D33 #33955C
split-complementary
#333B95 #955C33 #6C9533
monochromatic
#14173A #232967 #333B95 #4650C0 #737BCF
Accessibility & contrast
On white
9.54
#333B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#333B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333B95
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333B95 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #333b95; /* rgb */ color: rgb(51, 59, 149); /* oklch */ color: oklch(40.2% 0.146 273.9);
Tailwind
colors: {
custom: {
50: '#7671b5',
500: '#333b95',
950: '#000000',
},
}SCSS
$custom: #333b95; $custom-light: #7671b5; $custom-dark: #000000;
JSON
{
"hex": "#333b95",
"rgb": {
"r": 51,
"g": 59,
"b": 149
},
"hsl": {
"h": 235.102,
"s": 49,
"l": 39.216
},
"oklch": {
"l": 0.40204,
"c": 0.14599,
"h": 273.9
},
"luminance": 0.06002
}Semantic roles & 50–950 ramp
primary
#333B95
secondary
#B7B16C
accent
#CD4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80