#32318C#32318C
#32318C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.147 H 277.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #32318C |
|---|---|
| RGB | rgb(50, 49, 140) |
| HSL | hsl(241, 48%, 37%) |
| HSV | hsv(241, 65%, 55%) |
| CMYK | cmyk(64.3%, 65%, 0%, 45.1%) |
| CIE-LAB | lab(26.06, 29.73, -50.52) |
| CIE-LCH | lch(26.06, 58.61, 300.48°) |
| OKLab | oklab(37.48% 0.0182 -0.1455) |
| OKLCH | oklch(37.48% 0.147 277.1) |
| XYZ | xyz(7.1458, 4.7676, 25.3495) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.75
Blueberry
#464196
ΔE00 5.09
Sapphire (survey)
#2138AB
ΔE00 5.14
Royal
#0C1793
ΔE00 6.94
Midnight Blue
#191970
ΔE00 7.29
Indigo Blue
#3A18B1
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32318C #8B8C31
analogous
#315E8C #32318C #5F318C
triadic
#32318C #8C3231 #318C32
tetradic
#32318C #8C315E #8B8C31 #318C5F
square
#32318C #8C315E #8B8C31 #318C5F
split-complementary
#32318C #8C5F31 #5E8C31
monochromatic
#121131 #22215F #32318C #4241B9 #6D6CCC
Accessibility & contrast
On white
10.75
#32318C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#32318C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32318C
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32318C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32318C | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #32318c; /* rgb */ color: rgb(50, 49, 140); /* oklch */ color: oklch(37.5% 0.147 277.1);
Tailwind
colors: {
custom: {
50: '#7569ae',
500: '#32318c',
950: '#000000',
},
}SCSS
$custom: #32318c; $custom-light: #7569ae; $custom-dark: #000000;
JSON
{
"hex": "#32318c",
"rgb": {
"r": 50,
"g": 49,
"b": 140
},
"hsl": {
"h": 240.659,
"s": 48.148,
"l": 37.059
},
"oklch": {
"l": 0.37483,
"c": 0.14665,
"h": 277.1
},
"luminance": 0.04768
}Semantic roles & 50–950 ramp
primary
#32318C
secondary
#B2B366
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F