#302F96#302F96
#302F96 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.163 H 275.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #302F96 |
|---|---|
| RGB | rgb(48, 47, 150) |
| HSL | hsl(241, 52%, 39%) |
| HSV | hsv(241, 69%, 59%) |
| CMYK | cmyk(68%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.34, 34.21, -56.24) |
| CIE-LCH | lch(26.34, 65.83, 301.31°) |
| OKLab | oklab(37.92% 0.0163 -0.1623) |
| OKLCH | oklch(37.92% 0.163 275.7) |
| XYZ | xyz(7.7387, 4.8627, 29.3790) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Blueberry
#464196
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 5.78
Royal
#0C1793
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F96 #95962F
analogous
#2F6196 #302F96 #632F96
triadic
#302F96 #96302F #2F9630
tetradic
#302F96 #962F61 #95962F #2F9663
square
#302F96 #962F61 #95962F #2F9663
split-complementary
#302F96 #96632F #61962F
monochromatic
#121239 #212067 #302F96 #413FC3 #6F6ED2
Accessibility & contrast
On white
10.65
#302F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#302F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F96
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F96 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302f96; /* rgb */ color: rgb(48, 47, 150); /* oklch */ color: oklch(37.9% 0.163 275.7);
Tailwind
colors: {
custom: {
50: '#7668b6',
500: '#302f96',
950: '#000000',
},
}SCSS
$custom: #302f96; $custom-light: #7668b6; $custom-dark: #000000;
JSON
{
"hex": "#302f96",
"rgb": {
"r": 48,
"g": 47,
"b": 150
},
"hsl": {
"h": 240.583,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.37925,
"c": 0.16316,
"h": 275.7
},
"luminance": 0.04863
}Semantic roles & 50–950 ramp
primary
#302F96
secondary
#B8B968
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80