#301B9A#301B9A
#301B9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.188 H 278.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #301B9A |
|---|---|
| RGB | rgb(48, 27, 154) |
| HSL | hsl(250, 70%, 35%) |
| HSV | hsv(250, 82%, 60%) |
| CMYK | cmyk(68.8%, 82.5%, 0%, 39.6%) |
| CIE-LAB | lab(22.81, 46.62, -64.51) |
| CIE-LCH | lch(22.81, 79.60, 305.85°) |
| OKLab | oklab(35.55% 0.0274 -0.1863) |
| OKLCH | oklch(35.55% 0.188 278.4) |
| XYZ | xyz(7.4417, 3.7447, 30.8962) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.09
Indigo Blue
#3A18B1
ΔE00 3.38
Cobalt Blue
#030AA7
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 4.02
Ultramarine
#2000B1
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301B9A #859A1B
analogous
#1B469A #301B9A #6F1B9A
triadic
#301B9A #9A301B #1B9A30
tetradic
#301B9A #9A1B46 #859A1B #1B9A6F
square
#301B9A #9A1B46 #859A1B #1B9A6F
split-complementary
#301B9A #9A6F1B #469A1B
monochromatic
#100932 #201266 #301B9A #4024CE #674FE0
Accessibility & contrast
On white
12.01
#301B9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#301B9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301B9A
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301B9A | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #301b9a; /* rgb */ color: rgb(48, 27, 154); /* oklch */ color: oklch(35.5% 0.188 278.4);
Tailwind
colors: {
custom: {
50: '#795cb9',
500: '#301b9a',
950: '#000000',
},
}SCSS
$custom: #301b9a; $custom-light: #795cb9; $custom-dark: #000000;
JSON
{
"hex": "#301b9a",
"rgb": {
"r": 48,
"g": 27,
"b": 154
},
"hsl": {
"h": 249.921,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.35549,
"c": 0.18834,
"h": 278.4
},
"luminance": 0.03745
}Semantic roles & 50–950 ramp
primary
#301B9A
secondary
#AFC34E
accent
#ED3BD0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981