#333C8F#333C8F
#333C8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.136 H 273.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #333C8F |
|---|---|
| RGB | rgb(51, 60, 143) |
| HSL | hsl(234, 47%, 38%) |
| HSV | hsv(234, 64%, 56%) |
| CMYK | cmyk(64.3%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(29.20, 23.70, -47.25) |
| CIE-LCH | lch(29.20, 52.86, 296.64°) |
| OKLab | oklab(39.9% 0.0091 -0.1358) |
| OKLCH | oklch(39.9% 0.136 273.8) |
| XYZ | xyz(7.9374, 5.9180, 26.7053) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.36
Darkslateblue
#483D8B
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 6.32
Cobalt
#0047AB
ΔE00 6.77
Ocean Blue
#4F42B5
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C8F #8F8633
analogous
#336A8F #333C8F #58338F
triadic
#333C8F #8F333C #3C8F33
tetradic
#333C8F #8F336A #8F8633 #338F58
square
#333C8F #8F336A #8F8633 #338F58
split-complementary
#333C8F #8F5833 #6A8F33
monochromatic
#131635 #232962 #333C8F #434FBC #7079CC
Accessibility & contrast
On white
9.62
#333C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#333C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C8F
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C8F | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #333c8f; /* rgb */ color: rgb(51, 60, 143); /* oklch */ color: oklch(39.9% 0.136 273.8);
Tailwind
colors: {
custom: {
50: '#7571b0',
500: '#333c8f',
950: '#000000',
},
}SCSS
$custom: #333c8f; $custom-light: #7571b0; $custom-dark: #000000;
JSON
{
"hex": "#333c8f",
"rgb": {
"r": 51,
"g": 60,
"b": 143
},
"hsl": {
"h": 234.13,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.39899,
"c": 0.1361,
"h": 273.8
},
"luminance": 0.05919
}Semantic roles & 50–950 ramp
primary
#333C8F
secondary
#B4AD6A
accent
#CA51D7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80