#301F9C#301F9C
#301F9C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.187 H 277.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #301F9C |
|---|---|
| RGB | rgb(48, 31, 156) |
| HSL | hsl(248, 67%, 37%) |
| HSV | hsv(248, 80%, 61%) |
| CMYK | cmyk(69.2%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(23.70, 45.31, -64.27) |
| CIE-LCH | lch(23.70, 78.63, 305.18°) |
| OKLab | oklab(36.23% 0.0249 -0.1857) |
| OKLCH | oklch(36.23% 0.187 277.6) |
| XYZ | xyz(7.7077, 4.0080, 31.8135) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.27
Royal
#0C1793
ΔE00 3.41
Cobalt Blue
#030AA7
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.48
Ultramarine
#2000B1
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301F9C #8B9C1F
analogous
#1F4D9C #301F9C #6F1F9C
triadic
#301F9C #9C301F #1F9C30
tetradic
#301F9C #9C1F4D #8B9C1F #1F9C6F
square
#301F9C #9C1F4D #8B9C1F #1F9C6F
split-complementary
#301F9C #9C6F1F #4D9C1F
monochromatic
#110B36 #201569 #301F9C #4029CF #6A58DE
Accessibility & contrast
On white
11.66
#301F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#301F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301F9C
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301F9C | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #301f9c; /* rgb */ color: rgb(48, 31, 156); /* oklch */ color: oklch(36.2% 0.187 277.6);
Tailwind
colors: {
custom: {
50: '#795eba',
500: '#301f9c',
950: '#000000',
},
}SCSS
$custom: #301f9c; $custom-light: #795eba; $custom-dark: #000000;
JSON
{
"hex": "#301f9c",
"rgb": {
"r": 48,
"g": 31,
"b": 156
},
"hsl": {
"h": 248.16,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.36233,
"c": 0.18735,
"h": 277.6
},
"luminance": 0.04009
}Semantic roles & 50–950 ramp
primary
#301F9C
secondary
#B3C155
accent
#EA3ED2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981