#301FA6#301FA6
#301FA6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.199 H 276.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #301FA6 |
|---|---|
| RGB | rgb(48, 31, 166) |
| HSL | hsl(248, 69%, 39%) |
| HSV | hsv(248, 81%, 65%) |
| CMYK | cmyk(71.1%, 81.3%, 0%, 34.9%) |
| CIE-LAB | lab(24.83, 48.39, -68.48) |
| CIE-LCH | lch(24.83, 83.85, 305.24°) |
| OKLab | oklab(37.35% 0.0221 -0.1979) |
| OKLCH | oklch(37.35% 0.199 276.4) |
| XYZ | xyz(8.5896, 4.3607, 36.4580) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.14
Ultramarine
#2000B1
ΔE00 3.91
Cobalt Blue
#030AA7
ΔE00 3.93
Royal
#0C1793
ΔE00 4.21
Royal Blue (survey)
#0504AA
ΔE00 4.24
True Blue
#010FCC
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301FA6 #95A61F
analogous
#1F51A6 #301FA6 #731FA6
triadic
#301FA6 #A6301F #1FA630
tetradic
#301FA6 #A61F51 #95A61F #1FA673
square
#301FA6 #A61F51 #95A61F #1FA673
split-complementary
#301FA6 #A6731F #51A61F
monochromatic
#120C3F #211572 #301FA6 #412BD7 #6F5EE1
Accessibility & contrast
On white
11.22
#301FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#301FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301FA6
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301FA6 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #301fa6; /* rgb */ color: rgb(48, 31, 166); /* oklch */ color: oklch(37.4% 0.199 276.4);
Tailwind
colors: {
custom: {
50: '#7b5fc2',
500: '#301fa6',
950: '#000000',
},
}SCSS
$custom: #301fa6; $custom-light: #7b5fc2; $custom-dark: #000000;
JSON
{
"hex": "#301fa6",
"rgb": {
"r": 48,
"g": 31,
"b": 166
},
"hsl": {
"h": 247.556,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37351,
"c": 0.19917,
"h": 276.4
},
"luminance": 0.04362
}Semantic roles & 50–950 ramp
primary
#301FA6
secondary
#B8C55B
accent
#EB3CD5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982