#301D9C#301D9C
#301D9C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.189 H 277.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #301D9C |
|---|---|
| RGB | rgb(48, 29, 156) |
| HSL | hsl(249, 69%, 36%) |
| HSV | hsv(249, 81%, 61%) |
| CMYK | cmyk(69.2%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(23.36, 46.29, -64.83) |
| CIE-LCH | lch(23.36, 79.66, 305.53°) |
| OKLab | oklab(36% 0.0259 -0.1873) |
| OKLCH | oklch(36% 0.189 277.9) |
| XYZ | xyz(7.6571, 3.9067, 31.7966) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.17
Royal
#0C1793
ΔE00 3.28
Cobalt Blue
#030AA7
ΔE00 3.78
Royal Blue (survey)
#0504AA
ΔE00 4.18
Ultramarine
#2000B1
ΔE00 4.18
Indigo (survey)
#380282
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301D9C #899C1D
analogous
#1D4A9C #301D9C #701D9C
triadic
#301D9C #9C301D #1D9C30
tetradic
#301D9C #9C1D4A #899C1D #1D9C70
square
#301D9C #9C1D4A #899C1D #1D9C70
split-complementary
#301D9C #9C701D #4A9C1D
monochromatic
#100A35 #201368 #301D9C #4027D0 #6954DF
Accessibility & contrast
On white
11.79
#301D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#301D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301D9C
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301D9C | 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)
#003D9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #301d9c; /* rgb */ color: rgb(48, 29, 156); /* oklch */ color: oklch(36.0% 0.189 277.9);
Tailwind
colors: {
custom: {
50: '#795dbb',
500: '#301d9c',
950: '#000000',
},
}SCSS
$custom: #301d9c; $custom-light: #795dbb; $custom-dark: #000000;
JSON
{
"hex": "#301d9c",
"rgb": {
"r": 48,
"g": 29,
"b": 156
},
"hsl": {
"h": 248.976,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.35998,
"c": 0.18906,
"h": 277.9
},
"luminance": 0.03907
}Semantic roles & 50–950 ramp
primary
#301D9C
secondary
#B2C252
accent
#EB3CD1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981