#333D8F#333D8F
#333D8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.135 H 273.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #333D8F |
|---|---|
| RGB | rgb(51, 61, 143) |
| HSL | hsl(233, 47%, 38%) |
| HSV | hsv(233, 64%, 56%) |
| CMYK | cmyk(64.3%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(29.47, 23.03, -46.82) |
| CIE-LCH | lch(29.47, 52.18, 296.19°) |
| OKLab | oklab(40.1% 0.0081 -0.1345) |
| OKLCH | oklch(40.1% 0.135 273.4) |
| XYZ | xyz(7.9903, 6.0238, 26.7229) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.37
Darkslateblue
#483D8B
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 4.77
Cobalt (survey)
#1E488F
ΔE00 6.02
Cobalt
#0047AB
ΔE00 6.56
Darkish Blue
#014182
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333D8F #8F8533
analogous
#336B8F #333D8F #57338F
triadic
#333D8F #8F333D #3D8F33
tetradic
#333D8F #8F336B #8F8533 #338F57
square
#333D8F #8F336B #8F8533 #338F57
split-complementary
#333D8F #8F5733 #6B8F33
monochromatic
#131735 #232A62 #333D8F #4350BC #707ACC
Accessibility & contrast
On white
9.52
#333D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#333D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333D8F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333D8F | 1.00 | 9.52 | 2.20 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #333d8f; /* rgb */ color: rgb(51, 61, 143); /* oklch */ color: oklch(40.1% 0.135 273.4);
Tailwind
colors: {
custom: {
50: '#7572b0',
500: '#333d8f',
950: '#000000',
},
}SCSS
$custom: #333d8f; $custom-light: #7572b0; $custom-dark: #000000;
JSON
{
"hex": "#333d8f",
"rgb": {
"r": 51,
"g": 61,
"b": 143
},
"hsl": {
"h": 233.478,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.40099,
"c": 0.13476,
"h": 273.4
},
"luminance": 0.06024
}Semantic roles & 50–950 ramp
primary
#333D8F
secondary
#B4AC6A
accent
#C851D7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80