#30299B#30299B
#30299B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.176 H 276.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #30299B |
|---|---|
| RGB | rgb(48, 41, 155) |
| HSL | hsl(244, 58%, 38%) |
| HSV | hsv(244, 74%, 61%) |
| CMYK | cmyk(69%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(25.50, 39.55, -60.68) |
| CIE-LCH | lch(25.50, 72.43, 303.10°) |
| OKLab | oklab(37.47% 0.0196 -0.1753) |
| OKLCH | oklch(37.47% 0.176 276.4) |
| XYZ | xyz(7.9263, 4.5801, 31.4703) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.96
Royal Blue (survey)
#0504AA
ΔE00 6.44
Ultramarine
#2000B1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30299B #949B29
analogous
#295B9B #30299B #69299B
triadic
#30299B #9B3029 #299B30
tetradic
#30299B #9B295B #949B29 #299B69
square
#30299B #9B295B #949B29 #299B69
split-complementary
#30299B #9B6929 #5B9B29
monochromatic
#120F3A #211C6B #30299B #4037CA #6E67D7
Accessibility & contrast
On white
10.96
#30299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#30299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30299B
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30299B | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #30299b; /* rgb */ color: rgb(48, 41, 155); /* oklch */ color: oklch(37.5% 0.176 276.4);
Tailwind
colors: {
custom: {
50: '#7864ba',
500: '#30299b',
950: '#000000',
},
}SCSS
$custom: #30299b; $custom-light: #7864ba; $custom-dark: #000000;
JSON
{
"hex": "#30299b",
"rgb": {
"r": 48,
"g": 41,
"b": 155
},
"hsl": {
"h": 243.684,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.37473,
"c": 0.17641,
"h": 276.4
},
"luminance": 0.04581
}Semantic roles & 50–950 ramp
primary
#30299B
secondary
#B8BD63
accent
#E146D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81