#30229E#30229E
#30229E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.187 H 277.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #30229E |
|---|---|
| RGB | rgb(48, 34, 158) |
| HSL | hsl(247, 65%, 38%) |
| HSV | hsv(247, 78%, 62%) |
| CMYK | cmyk(69.6%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(24.45, 44.41, -64.25) |
| CIE-LCH | lch(24.45, 78.10, 304.65°) |
| OKLab | oklab(36.82% 0.0229 -0.1857) |
| OKLCH | oklch(36.82% 0.187 277) |
| XYZ | xyz(7.9605, 4.2403, 32.7401) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.28
Royal
#0C1793
ΔE00 3.81
Cobalt Blue
#030AA7
ΔE00 4.47
Ultramarine
#2000B1
ΔE00 4.85
Royal Blue (survey)
#0504AA
ΔE00 4.90
True Blue
#010FCC
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30229E #909E22
analogous
#22529E #30229E #6E229E
triadic
#30229E #9E3022 #229E30
tetradic
#30229E #9E2252 #909E22 #229E6E
square
#30229E #9E2252 #909E22 #229E6E
split-complementary
#30229E #9E6E22 #529E22
monochromatic
#110C39 #21176C #30229E #3F2DD0 #6C5EDC
Accessibility & contrast
On white
11.36
#30229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#30229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30229E
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30229E | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #30229e; /* rgb */ color: rgb(48, 34, 158); /* oklch */ color: oklch(36.8% 0.187 277.0);
Tailwind
colors: {
custom: {
50: '#7960bc',
500: '#30229e',
950: '#000000',
},
}SCSS
$custom: #30229e; $custom-light: #7960bc; $custom-dark: #000000;
JSON
{
"hex": "#30229e",
"rgb": {
"r": 48,
"g": 34,
"b": 158
},
"hsl": {
"h": 246.774,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.36824,
"c": 0.18706,
"h": 277
},
"luminance": 0.04241
}Semantic roles & 50–950 ramp
primary
#30229E
secondary
#B5C15B
accent
#E840D5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981