#30217C#30217C
#30217C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.145 H 282.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #30217C |
|---|---|
| RGB | rgb(48, 33, 124) |
| HSL | hsl(250, 58%, 31%) |
| HSV | hsv(250, 73%, 49%) |
| CMYK | cmyk(61.3%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(20.72, 33.95, -49.22) |
| CIE-LCH | lch(20.72, 59.80, 304.60°) |
| OKLab | oklab(33.13% 0.0316 -0.1418) |
| OKLCH | oklch(33.13% 0.145 282.6) |
| XYZ | xyz(5.3997, 3.1710, 19.3924) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.57
Royal
#0C1793
ΔE00 5.12
Indigo (survey)
#380282
ΔE00 5.61
Dark Royal Blue
#02066F
ΔE00 6.75
Indigo
#4B0082
ΔE00 6.99
Deep Blue
#040273
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30217C #6D7C21
analogous
#213F7C #30217C #5D217C
triadic
#30217C #7C3021 #217C30
tetradic
#30217C #7C213F #6D7C21 #217C5D
square
#30217C #7C213F #6D7C21 #217C5D
split-complementary
#30217C #7C5D21 #3F7C21
monochromatic
#0B071B #1D144C #30217C #432EAC #5F49CF
Accessibility & contrast
On white
12.85
#30217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#30217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30217C
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30217C | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #30217c; /* rgb */ color: rgb(48, 33, 124); /* oklch */ color: oklch(33.1% 0.145 282.6);
Tailwind
colors: {
custom: {
50: '#725ea3',
500: '#30217c',
950: '#000000',
},
}SCSS
$custom: #30217c; $custom-light: #725ea3; $custom-dark: #000000;
JSON
{
"hex": "#30217c",
"rgb": {
"r": 48,
"g": 33,
"b": 124
},
"hsl": {
"h": 249.89,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.33125,
"c": 0.14527,
"h": 282.6
},
"luminance": 0.03171
}Semantic roles & 50–950 ramp
primary
#30217C
secondary
#9EAF4A
accent
#E147C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F