#321E9E#321E9E
#321E9E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.190 H 278.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #321E9E |
|---|---|
| RGB | rgb(50, 30, 158) |
| HSL | hsl(249, 68%, 37%) |
| HSV | hsv(249, 81%, 62%) |
| CMYK | cmyk(68.4%, 81%, 0%, 38%) |
| CIE-LAB | lab(23.92, 46.60, -65.12) |
| CIE-LCH | lch(23.92, 80.08, 305.59°) |
| OKLab | oklab(36.49% 0.0277 -0.1881) |
| OKLCH | oklch(36.49% 0.19 278.4) |
| XYZ | xyz(7.9492, 4.0746, 32.7087) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.87
Royal
#0C1793
ΔE00 3.65
Cobalt Blue
#030AA7
ΔE00 3.97
Ultramarine
#2000B1
ΔE00 4.21
Royal Blue (survey)
#0504AA
ΔE00 4.34
True Blue
#010FCC
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#321E9E #8A9E1E
analogous
#1E4A9E #321E9E #721E9E
triadic
#321E9E #9E321E #1E9E32
tetradic
#321E9E #9E1E4A #8A9E1E #1E9E72
square
#321E9E #9E1E4A #8A9E1E #1E9E72
split-complementary
#321E9E #9E721E #4A9E1E
monochromatic
#110A37 #22146B #321E9E #4228D1 #6C57DF
Accessibility & contrast
On white
11.57
#321E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#321E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #321E9E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##321E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##321E9E | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #321e9e; /* rgb */ color: rgb(50, 30, 158); /* oklch */ color: oklch(36.5% 0.190 278.4);
Tailwind
colors: {
custom: {
50: '#7a5ebc',
500: '#321e9e',
950: '#000000',
},
}SCSS
$custom: #321e9e; $custom-light: #7a5ebc; $custom-dark: #000000;
JSON
{
"hex": "#321e9e",
"rgb": {
"r": 50,
"g": 30,
"b": 158
},
"hsl": {
"h": 249.375,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.36492,
"c": 0.19014,
"h": 278.4
},
"luminance": 0.04075
}Semantic roles & 50–950 ramp
primary
#321E9E
secondary
#B2C355
accent
#EB3DD0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981