#301E9E#301E9E
#301E9E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.191 H 277.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #301E9E |
|---|---|
| RGB | rgb(48, 30, 158) |
| HSL | hsl(248, 68%, 37%) |
| HSV | hsv(248, 81%, 62%) |
| CMYK | cmyk(69.6%, 81%, 0%, 38%) |
| CIE-LAB | lab(23.75, 46.42, -65.40) |
| CIE-LCH | lch(23.75, 80.20, 305.37°) |
| OKLab | oklab(36.34% 0.0248 -0.189) |
| OKLCH | oklch(36.34% 0.191 277.5) |
| XYZ | xyz(7.8528, 4.0248, 32.7042) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.96
Royal
#0C1793
ΔE00 3.47
Cobalt Blue
#030AA7
ΔE00 3.85
Ultramarine
#2000B1
ΔE00 4.17
Royal Blue (survey)
#0504AA
ΔE00 4.23
True Blue
#010FCC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301E9E #8C9E1E
analogous
#1E4C9E #301E9E #701E9E
triadic
#301E9E #9E301E #1E9E30
tetradic
#301E9E #9E1E4C #8C9E1E #1E9E70
square
#301E9E #9E1E4C #8C9E1E #1E9E70
split-complementary
#301E9E #9E701E #4C9E1E
monochromatic
#110A37 #20146B #301E9E #4028D1 #6A57DF
Accessibility & contrast
On white
11.63
#301E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#301E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301E9E
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301E9E | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #301e9e; /* rgb */ color: rgb(48, 30, 158); /* oklch */ color: oklch(36.3% 0.191 277.5);
Tailwind
colors: {
custom: {
50: '#7a5ebc',
500: '#301e9e',
950: '#000000',
},
}SCSS
$custom: #301e9e; $custom-light: #7a5ebc; $custom-dark: #000000;
JSON
{
"hex": "#301e9e",
"rgb": {
"r": 48,
"g": 30,
"b": 158
},
"hsl": {
"h": 248.438,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.36338,
"c": 0.19058,
"h": 277.5
},
"luminance": 0.04026
}Semantic roles & 50–950 ramp
primary
#301E9E
secondary
#B3C355
accent
#EB3DD2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981