#302F95#302F95
#302F95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.162 H 275.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #302F95 |
|---|---|
| RGB | rgb(48, 47, 149) |
| HSL | hsl(241, 52%, 38%) |
| HSV | hsv(241, 68%, 58%) |
| CMYK | cmyk(67.8%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(26.25, 33.86, -55.78) |
| CIE-LCH | lch(26.25, 65.25, 301.26°) |
| OKLab | oklab(37.83% 0.0164 -0.161) |
| OKLCH | oklch(37.83% 0.162 275.8) |
| XYZ | xyz(7.6585, 4.8307, 28.9568) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.24
Blueberry
#464196
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.71
Royal
#0C1793
ΔE00 6.03
Indigo Blue
#3A18B1
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F95 #94952F
analogous
#2F6195 #302F95 #632F95
triadic
#302F95 #95302F #2F9530
tetradic
#302F95 #952F61 #94952F #2F9563
square
#302F95 #952F61 #94952F #2F9563
split-complementary
#302F95 #95632F #61952F
monochromatic
#121238 #212066 #302F95 #403FC2 #6E6DD1
Accessibility & contrast
On white
10.68
#302F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#302F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F95
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F95 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302f95; /* rgb */ color: rgb(48, 47, 149); /* oklch */ color: oklch(37.8% 0.162 275.8);
Tailwind
colors: {
custom: {
50: '#7668b5',
500: '#302f95',
950: '#000000',
},
}SCSS
$custom: #302f95; $custom-light: #7668b5; $custom-dark: #000000;
JSON
{
"hex": "#302f95",
"rgb": {
"r": 48,
"g": 47,
"b": 149
},
"hsl": {
"h": 240.588,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.37829,
"c": 0.16183,
"h": 275.8
},
"luminance": 0.04831
}Semantic roles & 50–950 ramp
primary
#302F95
secondary
#B8B867
accent
#DB4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80