#302F79#302F79
#302F79 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.123 H 278.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #302F79 |
|---|---|
| RGB | rgb(48, 47, 121) |
| HSL | hsl(241, 44%, 33%) |
| HSV | hsv(241, 61%, 47%) |
| CMYK | cmyk(60.3%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(23.81, 23.96, -42.27) |
| CIE-LCH | lch(23.81, 48.59, 299.54°) |
| OKLab | oklab(35.29% 0.0185 -0.1214) |
| OKLCH | oklch(35.29% 0.123 278.7) |
| XYZ | xyz(5.6855, 4.0415, 18.5659) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.43
Midnight Blue
#191970
ΔE00 6.26
Blueberry
#464196
ΔE00 6.68
Marine
#042E60
ΔE00 8.02
Sapphire (survey)
#2138AB
ΔE00 8.03
Royal
#0C1793
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F79 #78792F
analogous
#2F5379 #302F79 #552F79
triadic
#302F79 #79302F #2F7930
tetradic
#302F79 #792F53 #78792F #2F7955
square
#302F79 #792F53 #78792F #2F7955
split-complementary
#302F79 #79552F #53792F
monochromatic
#0D0D21 #1F1E4D #302F79 #4140A5 #6261C2
Accessibility & contrast
On white
11.61
#302F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#302F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F79
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F79 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#02414F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #302f79; /* rgb */ color: rgb(48, 47, 121); /* oklch */ color: oklch(35.3% 0.123 278.7);
Tailwind
colors: {
custom: {
50: '#7067a0',
500: '#302f79',
950: '#000000',
},
}SCSS
$custom: #302f79; $custom-light: #7067a0; $custom-dark: #000000;
JSON
{
"hex": "#302f79",
"rgb": {
"r": 48,
"g": 47,
"b": 121
},
"hsl": {
"h": 240.811,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.35289,
"c": 0.12276,
"h": 278.7
},
"luminance": 0.04042
}Semantic roles & 50–950 ramp
primary
#302F79
secondary
#A7A85B
accent
#D454D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E