#33418C#33418C
#33418C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.125 H 271.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #33418C |
|---|---|
| RGB | rgb(51, 65, 140) |
| HSL | hsl(231, 47%, 37%) |
| HSV | hsv(231, 64%, 55%) |
| CMYK | cmyk(63.6%, 53.6%, 0%, 45.1%) |
| CIE-LAB | lab(30.34, 19.25, -43.56) |
| CIE-LCH | lch(30.34, 47.62, 293.84°) |
| OKLab | oklab(40.68% 0.0039 -0.1249) |
| OKLCH | oklch(40.68% 0.125 271.8) |
| XYZ | xyz(7.9876, 6.3772, 25.6158) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.85
Cobalt
#0047AB
ΔE00 6.07
Darkish Blue
#014182
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33418C #8C7E33
analogous
#336D8C #33418C #52338C
triadic
#33418C #8C3341 #418C33
tetradic
#33418C #8C336D #8C7E33 #338C52
square
#33418C #8C336D #8C7E33 #338C52
split-complementary
#33418C #8C5233 #6D8C33
monochromatic
#121732 #232C5F #33418C #4356B9 #6F7DCB
Accessibility & contrast
On white
9.23
#33418C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#33418C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33418C
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33418C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33418C | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #33418c; /* rgb */ color: rgb(51, 65, 140); /* oklch */ color: oklch(40.7% 0.125 271.8);
Tailwind
colors: {
custom: {
50: '#7475ae',
500: '#33418c',
950: '#000000',
},
}SCSS
$custom: #33418c; $custom-light: #7475ae; $custom-dark: #000000;
JSON
{
"hex": "#33418c",
"rgb": {
"r": 51,
"g": 65,
"b": 140
},
"hsl": {
"h": 230.562,
"s": 46.597,
"l": 37.451
},
"oklch": {
"l": 0.40683,
"c": 0.12494,
"h": 271.8
},
"luminance": 0.06378
}Semantic roles & 50–950 ramp
primary
#33418C
secondary
#B2A768
accent
#C152D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F