#30249E#30249E
#30249E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.185 H 276.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #30249E |
|---|---|
| RGB | rgb(48, 36, 158) |
| HSL | hsl(246, 63%, 38%) |
| HSV | hsv(246, 77%, 62%) |
| CMYK | cmyk(69.6%, 77.2%, 0%, 38%) |
| CIE-LAB | lab(24.82, 43.34, -63.63) |
| CIE-LCH | lch(24.82, 76.99, 304.26°) |
| OKLab | oklab(37.08% 0.0218 -0.1839) |
| OKLCH | oklch(37.08% 0.185 276.8) |
| XYZ | xyz(8.0193, 4.3580, 32.7597) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.52
Royal
#0C1793
ΔE00 4.05
Cobalt Blue
#030AA7
ΔE00 4.83
Ultramarine
#2000B1
ΔE00 5.22
Royal Blue (survey)
#0504AA
ΔE00 5.27
Sapphire (survey)
#2138AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30249E #929E24
analogous
#24559E #30249E #6D249E
triadic
#30249E #9E3024 #249E30
tetradic
#30249E #9E2455 #929E24 #249E6D
square
#30249E #9E2455 #929E24 #249E6D
split-complementary
#30249E #9E6D24 #559E24
monochromatic
#120D3A #21196C #30249E #3F2FD0 #6D61DB
Accessibility & contrast
On white
11.22
#30249E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#30249E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30249E
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30249E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30249E | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #30249e; /* rgb */ color: rgb(48, 36, 158); /* oklch */ color: oklch(37.1% 0.185 276.8);
Tailwind
colors: {
custom: {
50: '#7961bc',
500: '#30249e',
950: '#000000',
},
}SCSS
$custom: #30249e; $custom-light: #7961bc; $custom-dark: #000000;
JSON
{
"hex": "#30249e",
"rgb": {
"r": 48,
"g": 36,
"b": 158
},
"hsl": {
"h": 245.902,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.37084,
"c": 0.18519,
"h": 276.8
},
"luminance": 0.04359
}Semantic roles & 50–950 ramp
primary
#30249E
secondary
#B7C05E
accent
#E642D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981