#32318F#32318F
#32318F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.151 H 276.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #32318F |
|---|---|
| RGB | rgb(50, 49, 143) |
| HSL | hsl(241, 49%, 38%) |
| HSV | hsv(241, 66%, 56%) |
| CMYK | cmyk(65%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(26.32, 30.78, -51.95) |
| CIE-LCH | lch(26.32, 60.38, 300.65°) |
| OKLab | oklab(37.76% 0.018 -0.1497) |
| OKLCH | oklch(37.76% 0.151 276.8) |
| XYZ | xyz(7.3700, 4.8573, 26.5304) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.75
Darkslateblue
#483D8B
ΔE00 4.88
Blueberry
#464196
ΔE00 5.05
Royal
#0C1793
ΔE00 6.78
Midnight Blue
#191970
ΔE00 7.50
Indigo Blue
#3A18B1
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32318F #8E8F31
analogous
#315F8F #32318F #61318F
triadic
#32318F #8F3231 #318F32
tetradic
#32318F #8F315F #8E8F31 #318F61
square
#32318F #8F315F #8E8F31 #318F61
split-complementary
#32318F #8F6131 #5F8F31
monochromatic
#121234 #222161 #32318F #4241BD #6E6DCD
Accessibility & contrast
On white
10.65
#32318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#32318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32318F
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32318F | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #32318f; /* rgb */ color: rgb(50, 49, 143); /* oklch */ color: oklch(37.8% 0.151 276.8);
Tailwind
colors: {
custom: {
50: '#7569b1',
500: '#32318f',
950: '#000000',
},
}SCSS
$custom: #32318f; $custom-light: #7569b1; $custom-dark: #000000;
JSON
{
"hex": "#32318f",
"rgb": {
"r": 50,
"g": 49,
"b": 143
},
"hsl": {
"h": 240.638,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.37756,
"c": 0.15078,
"h": 276.8
},
"luminance": 0.04858
}Semantic roles & 50–950 ramp
primary
#32318F
secondary
#B4B567
accent
#D94FD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80