#30229F#30229F
#30229F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.188 H 276.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #30229F |
|---|---|
| RGB | rgb(48, 34, 159) |
| HSL | hsl(247, 65%, 38%) |
| HSV | hsv(247, 79%, 62%) |
| CMYK | cmyk(69.8%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(24.56, 44.72, -64.68) |
| CIE-LCH | lch(24.56, 78.63, 304.66°) |
| OKLab | oklab(36.93% 0.0226 -0.1869) |
| OKLCH | oklch(36.93% 0.188 276.9) |
| XYZ | xyz(8.0469, 4.2749, 33.1952) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.17
Royal
#0C1793
ΔE00 3.88
Cobalt Blue
#030AA7
ΔE00 4.45
Ultramarine
#2000B1
ΔE00 4.78
Royal Blue (survey)
#0504AA
ΔE00 4.86
True Blue
#010FCC
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30229F #919F22
analogous
#22529F #30229F #6E229F
triadic
#30229F #9F3022 #229F30
tetradic
#30229F #9F2252 #919F22 #229F6E
square
#30229F #9F2252 #919F22 #229F6E
split-complementary
#30229F #9F6E22 #529F22
monochromatic
#120C3A #21176D #30229F #3F2DD1 #6D5FDD
Accessibility & contrast
On white
11.32
#30229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#30229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30229F
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30229F | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #30229f; /* rgb */ color: rgb(48, 34, 159); /* oklch */ color: oklch(36.9% 0.188 276.9);
Tailwind
colors: {
custom: {
50: '#7960bd',
500: '#30229f',
950: '#000000',
},
}SCSS
$custom: #30229f; $custom-light: #7960bd; $custom-dark: #000000;
JSON
{
"hex": "#30229f",
"rgb": {
"r": 48,
"g": 34,
"b": 159
},
"hsl": {
"h": 246.72,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.36933,
"c": 0.18827,
"h": 276.9
},
"luminance": 0.04276
}Semantic roles & 50–950 ramp
primary
#30229F
secondary
#B6C15B
accent
#E840D5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981