#301E9A#301E9A
#301E9A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.186 H 278.0°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #301E9A |
|---|---|
| RGB | rgb(48, 30, 154) |
| HSL | hsl(249, 67%, 36%) |
| HSV | hsv(249, 81%, 60%) |
| CMYK | cmyk(68.8%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(23.30, 45.19, -63.70) |
| CIE-LCH | lch(23.30, 78.10, 305.35°) |
| OKLab | oklab(35.89% 0.026 -0.184) |
| OKLCH | oklch(35.89% 0.186 278) |
| XYZ | xyz(7.5140, 3.8894, 30.9203) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.23
Indigo Blue
#3A18B1
ΔE00 3.47
Cobalt Blue
#030AA7
ΔE00 4.01
Royal Blue (survey)
#0504AA
ΔE00 4.43
Ultramarine
#2000B1
ΔE00 4.49
Indigo (survey)
#380282
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301E9A #889A1E
analogous
#1E4A9A #301E9A #6E1E9A
triadic
#301E9A #9A301E #1E9A30
tetradic
#301E9A #9A1E4A #889A1E #1E9A6E
square
#301E9A #9A1E4A #889A1E #1E9A6E
split-complementary
#301E9A #9A6E1E #4A9A1E
monochromatic
#100A34 #201467 #301E9A #4028CD #6955DE
Accessibility & contrast
On white
11.81
#301E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#301E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301E9A
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301E9A | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #301e9a; /* rgb */ color: rgb(48, 30, 154); /* oklch */ color: oklch(35.9% 0.186 278.0);
Tailwind
colors: {
custom: {
50: '#795eb9',
500: '#301e9a',
950: '#000000',
},
}SCSS
$custom: #301e9a; $custom-light: #795eb9; $custom-dark: #000000;
JSON
{
"hex": "#301e9a",
"rgb": {
"r": 48,
"g": 30,
"b": 154
},
"hsl": {
"h": 248.71,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.35891,
"c": 0.18583,
"h": 278
},
"luminance": 0.0389
}Semantic roles & 50–950 ramp
primary
#301E9A
secondary
#B1C153
accent
#EA3ED1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981