#301C9A#301C9A
#301C9A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.188 H 278.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #301C9A |
|---|---|
| RGB | rgb(48, 28, 154) |
| HSL | hsl(250, 69%, 36%) |
| HSV | hsv(250, 82%, 60%) |
| CMYK | cmyk(68.8%, 81.8%, 0%, 39.6%) |
| CIE-LAB | lab(22.97, 46.15, -64.25) |
| CIE-LCH | lch(22.97, 79.11, 305.69°) |
| OKLab | oklab(35.66% 0.0269 -0.1856) |
| OKLCH | oklch(35.66% 0.188 278.3) |
| XYZ | xyz(7.4650, 3.7913, 30.9040) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 3.39
Cobalt Blue
#030AA7
ΔE00 3.75
Royal Blue (survey)
#0504AA
ΔE00 4.15
Ultramarine
#2000B1
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301C9A #869A1C
analogous
#1C479A #301C9A #6F1C9A
triadic
#301C9A #9A301C #1C9A30
tetradic
#301C9A #9A1C47 #869A1C #1C9A6F
square
#301C9A #9A1C47 #869A1C #1C9A6F
split-complementary
#301C9A #9A6F1C #479A1C
monochromatic
#100932 #201366 #301C9A #4025CE #6851DF
Accessibility & contrast
On white
11.94
#301C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#301C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301C9A
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301C9A | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #301c9a; /* rgb */ color: rgb(48, 28, 154); /* oklch */ color: oklch(35.7% 0.188 278.3);
Tailwind
colors: {
custom: {
50: '#795db9',
500: '#301c9a',
950: '#000000',
},
}SCSS
$custom: #301c9a; $custom-light: #795db9; $custom-dark: #000000;
JSON
{
"hex": "#301c9a",
"rgb": {
"r": 48,
"g": 28,
"b": 154
},
"hsl": {
"h": 249.524,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.3566,
"c": 0.18753,
"h": 278.3
},
"luminance": 0.03792
}Semantic roles & 50–950 ramp
primary
#301C9A
secondary
#B0C250
accent
#EC3CD0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981