#301B9E#301B9E
#301B9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.193 H 277.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #301B9E |
|---|---|
| RGB | rgb(48, 27, 158) |
| HSL | hsl(250, 71%, 36%) |
| HSV | hsv(250, 83%, 62%) |
| CMYK | cmyk(69.6%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(23.27, 47.83, -66.20) |
| CIE-LCH | lch(23.27, 81.67, 305.85°) |
| OKLab | oklab(36% 0.0261 -0.1912) |
| OKLCH | oklch(36% 0.193 277.8) |
| XYZ | xyz(7.7804, 3.8802, 32.6800) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.86
Royal
#0C1793
ΔE00 3.33
Cobalt Blue
#030AA7
ΔE00 3.46
Ultramarine
#2000B1
ΔE00 3.74
Royal Blue (survey)
#0504AA
ΔE00 3.82
Indigo (survey)
#380282
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301B9E #899E1B
analogous
#1B489E #301B9E #721B9E
triadic
#301B9E #9E301B #1B9E30
tetradic
#301B9E #9E1B48 #899E1B #1B9E72
square
#301B9E #9E1B48 #899E1B #1B9E72
split-complementary
#301B9E #9E721B #489E1B
monochromatic
#100935 #20126A #301B9E #4024D2 #6952E1
Accessibility & contrast
On white
11.82
#301B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#301B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301B9E
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301B9E | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #301b9e; /* rgb */ color: rgb(48, 27, 158); /* oklch */ color: oklch(36.0% 0.193 277.8);
Tailwind
colors: {
custom: {
50: '#7a5cbc',
500: '#301b9e',
950: '#000000',
},
}SCSS
$custom: #301b9e; $custom-light: #7a5cbc; $custom-dark: #000000;
JSON
{
"hex": "#301b9e",
"rgb": {
"r": 48,
"g": 27,
"b": 158
},
"hsl": {
"h": 249.618,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.36004,
"c": 0.19302,
"h": 277.8
},
"luminance": 0.03881
}Semantic roles & 50–950 ramp
primary
#301B9E
secondary
#B2C451
accent
#EE3AD1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981