#30219E#30219E
#30219E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.188 H 277.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #30219E |
|---|---|
| RGB | rgb(48, 33, 158) |
| HSL | hsl(247, 65%, 37%) |
| HSV | hsv(247, 79%, 62%) |
| CMYK | cmyk(69.6%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(24.27, 44.92, -64.54) |
| CIE-LCH | lch(24.27, 78.64, 304.84°) |
| OKLab | oklab(36.7% 0.0234 -0.1865) |
| OKLCH | oklch(36.7% 0.188 277.1) |
| XYZ | xyz(7.9323, 4.1840, 32.7307) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.18
Royal
#0C1793
ΔE00 3.71
Cobalt Blue
#030AA7
ΔE00 4.30
Ultramarine
#2000B1
ΔE00 4.67
Royal Blue (survey)
#0504AA
ΔE00 4.72
True Blue
#010FCC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30219E #8F9E21
analogous
#21519E #30219E #6F219E
triadic
#30219E #9E3021 #219E30
tetradic
#30219E #9E2151 #8F9E21 #219E6F
square
#30219E #9E2151 #8F9E21 #219E6F
split-complementary
#30219E #9E6F21 #519E21
monochromatic
#110C39 #21166B #30219E #3F2CD1 #6C5CDD
Accessibility & contrast
On white
11.43
#30219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#30219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30219E
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30219E | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #30219e; /* rgb */ color: rgb(48, 33, 158); /* oklch */ color: oklch(36.7% 0.188 277.1);
Tailwind
colors: {
custom: {
50: '#7960bc',
500: '#30219e',
950: '#000000',
},
}SCSS
$custom: #30219e; $custom-light: #7960bc; $custom-dark: #000000;
JSON
{
"hex": "#30219e",
"rgb": {
"r": 48,
"g": 33,
"b": 158
},
"hsl": {
"h": 247.2,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.36698,
"c": 0.18798,
"h": 277.1
},
"luminance": 0.04185
}Semantic roles & 50–950 ramp
primary
#30219E
secondary
#B5C159
accent
#E83FD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981