#301A9F#301A9F
#301A9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.195 H 277.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #301A9F |
|---|---|
| RGB | rgb(48, 26, 159) |
| HSL | hsl(250, 72%, 36%) |
| HSV | hsv(250, 84%, 62%) |
| CMYK | cmyk(69.8%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(23.24, 48.57, -66.87) |
| CIE-LCH | lch(23.24, 82.65, 305.99°) |
| OKLab | oklab(36.01% 0.0262 -0.1932) |
| OKLCH | oklch(36.01% 0.195 277.7) |
| XYZ | xyz(7.8443, 3.8697, 33.1277) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Cobalt Blue
#030AA7
ΔE00 3.32
Royal
#0C1793
ΔE00 3.38
Ultramarine
#2000B1
ΔE00 3.54
Royal Blue (survey)
#0504AA
ΔE00 3.65
Indigo (survey)
#380282
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301A9F #899F1A
analogous
#1A479F #301A9F #731A9F
triadic
#301A9F #9F301A #1A9F30
tetradic
#301A9F #9F1A47 #899F1A #1A9F73
square
#301A9F #9F1A47 #899F1A #1A9F73
split-complementary
#301A9F #9F731A #479F1A
monochromatic
#100936 #20116A #301A9F #4023D4 #6951E3
Accessibility & contrast
On white
11.84
#301A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#301A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301A9F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301A9F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #301a9f; /* rgb */ color: rgb(48, 26, 159); /* oklch */ color: oklch(36.0% 0.195 277.7);
Tailwind
colors: {
custom: {
50: '#7a5cbd',
500: '#301a9f',
950: '#000000',
},
}SCSS
$custom: #301a9f; $custom-light: #7a5cbd; $custom-dark: #000000;
JSON
{
"hex": "#301a9f",
"rgb": {
"r": 48,
"g": 26,
"b": 159
},
"hsl": {
"h": 249.925,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.36013,
"c": 0.19494,
"h": 277.7
},
"luminance": 0.0387
}Semantic roles & 50–950 ramp
primary
#301A9F
secondary
#B2C550
accent
#EF39D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981