#30217D#30217D
#30217D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.147 H 282.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #30217D |
|---|---|
| RGB | rgb(48, 33, 125) |
| HSL | hsl(250, 58%, 31%) |
| HSV | hsv(250, 74%, 49%) |
| CMYK | cmyk(61.6%, 73.6%, 0%, 51%) |
| CIE-LAB | lab(20.81, 34.28, -49.70) |
| CIE-LCH | lch(20.81, 60.38, 304.60°) |
| OKLab | oklab(33.22% 0.0314 -0.1432) |
| OKLCH | oklch(33.22% 0.147 282.4) |
| XYZ | xyz(5.4633, 3.1964, 19.7271) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.63
Royal
#0C1793
ΔE00 4.99
Indigo (survey)
#380282
ΔE00 5.56
Dark Royal Blue
#02066F
ΔE00 6.76
Indigo
#4B0082
ΔE00 6.95
Darkblue
#00008B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30217D #6E7D21
analogous
#21407D #30217D #5E217D
triadic
#30217D #7D3021 #217D30
tetradic
#30217D #7D2140 #6E7D21 #217D5E
square
#30217D #7D2140 #6E7D21 #217D5E
split-complementary
#30217D #7D5E21 #407D21
monochromatic
#0B071C #1D144D #30217D #432EAD #5F49CF
Accessibility & contrast
On white
12.81
#30217D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#30217D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30217D
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30217D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30217D | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #30217d; /* rgb */ color: rgb(48, 33, 125); /* oklch */ color: oklch(33.2% 0.147 282.4);
Tailwind
colors: {
custom: {
50: '#725ea4',
500: '#30217d',
950: '#000000',
},
}SCSS
$custom: #30217d; $custom-light: #725ea4; $custom-dark: #000000;
JSON
{
"hex": "#30217d",
"rgb": {
"r": 48,
"g": 33,
"b": 125
},
"hsl": {
"h": 249.783,
"s": 58.228,
"l": 30.98
},
"oklch": {
"l": 0.33224,
"c": 0.14658,
"h": 282.4
},
"luminance": 0.03197
}Semantic roles & 50–950 ramp
primary
#30217D
secondary
#9FB04A
accent
#E146C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F