#301AA0#301AA0
#301AA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.196 H 277.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #301AA0 |
|---|---|
| RGB | rgb(48, 26, 160) |
| HSL | hsl(250, 72%, 36%) |
| HSV | hsv(250, 84%, 63%) |
| CMYK | cmyk(70%, 83.8%, 0%, 37.3%) |
| CIE-LAB | lab(23.35, 48.87, -67.28) |
| CIE-LCH | lch(23.35, 83.16, 305.99°) |
| OKLab | oklab(36.13% 0.0259 -0.1944) |
| OKLCH | oklch(36.13% 0.196 277.6) |
| XYZ | xyz(7.9314, 3.9045, 33.5866) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.60
Cobalt Blue
#030AA7
ΔE00 3.30
Royal
#0C1793
ΔE00 3.46
Ultramarine
#2000B1
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 3.62
True Blue
#010FCC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301AA0 #8AA01A
analogous
#1A47A0 #301AA0 #731AA0
triadic
#301AA0 #A0301A #1AA030
tetradic
#301AA0 #A01A47 #8AA01A #1AA073
square
#301AA0 #A01A47 #8AA01A #1AA073
split-complementary
#301AA0 #A0731A #47A01A
monochromatic
#100937 #20116B #301AA0 #4023D5 #6952E3
Accessibility & contrast
On white
11.79
#301AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#301AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301AA0
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301AA0 | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #301aa0; /* rgb */ color: rgb(48, 26, 160); /* oklch */ color: oklch(36.1% 0.196 277.6);
Tailwind
colors: {
custom: {
50: '#7a5cbd',
500: '#301aa0',
950: '#000000',
},
}SCSS
$custom: #301aa0; $custom-light: #7a5cbd; $custom-dark: #000000;
JSON
{
"hex": "#301aa0",
"rgb": {
"r": 48,
"g": 26,
"b": 160
},
"hsl": {
"h": 249.851,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.36128,
"c": 0.1961,
"h": 277.6
},
"luminance": 0.03905
}Semantic roles & 50–950 ramp
primary
#301AA0
secondary
#B2C550
accent
#EF39D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981