#30219F#30219F
#30219F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.189 H 277.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #30219F |
|---|---|
| RGB | rgb(48, 33, 159) |
| HSL | hsl(247, 66%, 38%) |
| HSV | hsv(247, 79%, 62%) |
| CMYK | cmyk(69.8%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(24.38, 45.24, -64.97) |
| CIE-LCH | lch(24.38, 79.17, 304.85°) |
| OKLab | oklab(36.81% 0.0231 -0.1878) |
| OKLCH | oklch(36.81% 0.189 277) |
| XYZ | xyz(8.0188, 4.2186, 33.1858) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.07
Royal
#0C1793
ΔE00 3.78
Cobalt Blue
#030AA7
ΔE00 4.28
Ultramarine
#2000B1
ΔE00 4.60
Royal Blue (survey)
#0504AA
ΔE00 4.68
True Blue
#010FCC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30219F #909F21
analogous
#21519F #30219F #6F219F
triadic
#30219F #9F3021 #219F30
tetradic
#30219F #9F2151 #909F21 #219F6F
square
#30219F #9F2151 #909F21 #219F6F
split-complementary
#30219F #9F6F21 #519F21
monochromatic
#110C3A #21166C #30219F #3F2CD2 #6C5DDD
Accessibility & contrast
On white
11.39
#30219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#30219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30219F
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30219F | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #30219f; /* rgb */ color: rgb(48, 33, 159); /* oklch */ color: oklch(36.8% 0.189 277.0);
Tailwind
colors: {
custom: {
50: '#7a60bd',
500: '#30219f',
950: '#000000',
},
}SCSS
$custom: #30219f; $custom-light: #7a60bd; $custom-dark: #000000;
JSON
{
"hex": "#30219f",
"rgb": {
"r": 48,
"g": 33,
"b": 159
},
"hsl": {
"h": 247.143,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.36808,
"c": 0.18918,
"h": 277
},
"luminance": 0.04219
}Semantic roles & 50–950 ramp
primary
#30219F
secondary
#B5C25A
accent
#E93FD4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981