#30249B#30249B
#30249B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.181 H 277.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #30249B |
|---|---|
| RGB | rgb(48, 36, 155) |
| HSL | hsl(246, 62%, 37%) |
| HSV | hsv(246, 77%, 61%) |
| CMYK | cmyk(69%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(24.50, 42.38, -62.33) |
| CIE-LCH | lch(24.50, 75.37, 304.21°) |
| OKLab | oklab(36.76% 0.0225 -0.1801) |
| OKLCH | oklch(36.76% 0.182 277.1) |
| XYZ | xyz(7.7643, 4.2560, 31.4163) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Royal
#0C1793
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 4.94
Royal Blue (survey)
#0504AA
ΔE00 5.40
Ultramarine
#2000B1
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30249B #8F9B24
analogous
#24549B #30249B #6B249B
triadic
#30249B #9B3024 #249B30
tetradic
#30249B #9B2454 #8F9B24 #249B6B
square
#30249B #9B2454 #8F9B24 #249B6B
split-complementary
#30249B #9B6B24 #549B24
monochromatic
#110D38 #211869 #30249B #3F30CD #6C5FDA
Accessibility & contrast
On white
11.34
#30249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#30249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30249B
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30249B | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #30249b; /* rgb */ color: rgb(48, 36, 155); /* oklch */ color: oklch(36.8% 0.181 277.1);
Tailwind
colors: {
custom: {
50: '#7861ba',
500: '#30249b',
950: '#000000',
},
}SCSS
$custom: #30249b; $custom-light: #7861ba; $custom-dark: #000000;
JSON
{
"hex": "#30249b",
"rgb": {
"r": 48,
"g": 36,
"b": 155
},
"hsl": {
"h": 246.05,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.36763,
"c": 0.1815,
"h": 277.1
},
"luminance": 0.04257
}Semantic roles & 50–950 ramp
primary
#30249B
secondary
#B5BF5C
accent
#E542D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981