#301C9F#301C9F
#301C9F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.193 H 277.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #301C9F |
|---|---|
| RGB | rgb(48, 28, 159) |
| HSL | hsl(249, 70%, 37%) |
| HSV | hsv(249, 82%, 62%) |
| CMYK | cmyk(69.8%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.54, 47.67, -66.36) |
| CIE-LCH | lch(23.54, 81.71, 305.69°) |
| OKLab | oklab(36.23% 0.0254 -0.1917) |
| OKLCH | oklch(36.23% 0.193 277.5) |
| XYZ | xyz(7.8902, 3.9614, 33.1430) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.75
Royal
#0C1793
ΔE00 3.44
Cobalt Blue
#030AA7
ΔE00 3.55
Ultramarine
#2000B1
ΔE00 3.80
Royal Blue (survey)
#0504AA
ΔE00 3.91
True Blue
#010FCC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301C9F #8B9F1C
analogous
#1C4A9F #301C9F #721C9F
triadic
#301C9F #9F301C #1C9F30
tetradic
#301C9F #9F1C4A #8B9F1C #1C9F72
square
#301C9F #9F1C4A #8B9F1C #1C9F72
split-complementary
#301C9F #9F721C #4A9F1C
monochromatic
#110A37 #20136B #301C9F #4025D3 #6A54E1
Accessibility & contrast
On white
11.72
#301C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#301C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301C9F
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301C9F | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #301c9f; /* rgb */ color: rgb(48, 28, 159); /* oklch */ color: oklch(36.2% 0.193 277.5);
Tailwind
colors: {
custom: {
50: '#7a5dbd',
500: '#301c9f',
950: '#000000',
},
}SCSS
$custom: #301c9f; $custom-light: #7a5dbd; $custom-dark: #000000;
JSON
{
"hex": "#301c9f",
"rgb": {
"r": 48,
"g": 28,
"b": 159
},
"hsl": {
"h": 249.16,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.36226,
"c": 0.1934,
"h": 277.5
},
"luminance": 0.03962
}Semantic roles & 50–950 ramp
primary
#301C9F
secondary
#B3C453
accent
#ED3BD2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981