#301C9E#301C9E
#301C9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.192 H 277.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #301C9E |
|---|---|
| RGB | rgb(48, 28, 158) |
| HSL | hsl(249, 70%, 36%) |
| HSV | hsv(249, 82%, 62%) |
| CMYK | cmyk(69.6%, 82.3%, 0%, 38%) |
| CIE-LAB | lab(23.43, 47.37, -65.94) |
| CIE-LCH | lch(23.43, 81.19, 305.69°) |
| OKLab | oklab(36.11% 0.0257 -0.1905) |
| OKLCH | oklch(36.11% 0.192 277.7) |
| XYZ | xyz(7.8037, 3.9268, 32.6878) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.88
Royal
#0C1793
ΔE00 3.37
Cobalt Blue
#030AA7
ΔE00 3.58
Ultramarine
#2000B1
ΔE00 3.88
Royal Blue (survey)
#0504AA
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301C9E #8A9E1C
analogous
#1C499E #301C9E #711C9E
triadic
#301C9E #9E301C #1C9E30
tetradic
#301C9E #9E1C49 #8A9E1C #1C9E71
square
#301C9E #9E1C49 #8A9E1C #1C9E71
split-complementary
#301C9E #9E711C #499E1C
monochromatic
#100A36 #20136A #301C9E #4025D2 #6954E1
Accessibility & contrast
On white
11.76
#301C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#301C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301C9E
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301C9E | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #301c9e; /* rgb */ color: rgb(48, 28, 158); /* oklch */ color: oklch(36.1% 0.192 277.7);
Tailwind
colors: {
custom: {
50: '#7a5dbc',
500: '#301c9e',
950: '#000000',
},
}SCSS
$custom: #301c9e; $custom-light: #7a5dbc; $custom-dark: #000000;
JSON
{
"hex": "#301c9e",
"rgb": {
"r": 48,
"g": 28,
"b": 158
},
"hsl": {
"h": 249.231,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.36112,
"c": 0.19223,
"h": 277.7
},
"luminance": 0.03928
}Semantic roles & 50–950 ramp
primary
#301C9E
secondary
#B2C452
accent
#ED3BD1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981