#302F97#302F97
#302F97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.164 H 275.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #302F97 |
|---|---|
| RGB | rgb(48, 47, 151) |
| HSL | hsl(241, 53%, 39%) |
| HSV | hsv(241, 69%, 59%) |
| CMYK | cmyk(68.2%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(26.43, 34.56, -56.70) |
| CIE-LCH | lch(26.43, 66.40, 301.36°) |
| OKLab | oklab(38.02% 0.0161 -0.1637) |
| OKLCH | oklch(38.02% 0.164 275.6) |
| XYZ | xyz(7.8195, 4.8951, 29.8049) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Blueberry
#464196
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 5.84
Royal
#0C1793
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F97 #96972F
analogous
#2F6297 #302F97 #642F97
triadic
#302F97 #97302F #2F9730
tetradic
#302F97 #972F62 #96972F #2F9764
square
#302F97 #972F62 #96972F #2F9764
split-complementary
#302F97 #97642F #62972F
monochromatic
#12123A #212068 #302F97 #4140C3 #6F6ED2
Accessibility & contrast
On white
10.61
#302F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#302F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F97
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F97 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302f97; /* rgb */ color: rgb(48, 47, 151); /* oklch */ color: oklch(38.0% 0.164 275.6);
Tailwind
colors: {
custom: {
50: '#7668b7',
500: '#302f97',
950: '#000000',
},
}SCSS
$custom: #302f97; $custom-light: #7668b7; $custom-dark: #000000;
JSON
{
"hex": "#302f97",
"rgb": {
"r": 48,
"g": 47,
"b": 151
},
"hsl": {
"h": 240.577,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.38022,
"c": 0.16449,
"h": 275.6
},
"luminance": 0.04896
}Semantic roles & 50–950 ramp
primary
#302F97
secondary
#B9B968
accent
#DC4CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80