#302F93#302F93
#302F93 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.159 H 276.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #302F93 |
|---|---|
| RGB | rgb(48, 47, 147) |
| HSL | hsl(241, 52%, 38%) |
| HSV | hsv(241, 68%, 58%) |
| CMYK | cmyk(67.3%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(26.06, 33.16, -54.85) |
| CIE-LCH | lch(26.06, 64.10, 301.16°) |
| OKLab | oklab(37.64% 0.0166 -0.1583) |
| OKLCH | oklch(37.64% 0.159 276) |
| XYZ | xyz(7.5002, 4.7673, 28.1230) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Darkslateblue
#483D8B
ΔE00 5.60
Blueberry
#464196
ΔE00 5.62
Royal
#0C1793
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F93 #92932F
analogous
#2F6093 #302F93 #622F93
triadic
#302F93 #93302F #2F9330
tetradic
#302F93 #932F60 #92932F #2F9362
square
#302F93 #932F60 #92932F #2F9362
split-complementary
#302F93 #93622F #60932F
monochromatic
#121136 #212065 #302F93 #3F3EC1 #6D6CD0
Accessibility & contrast
On white
10.75
#302F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#302F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F93
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F93 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302f93; /* rgb */ color: rgb(48, 47, 147); /* oklch */ color: oklch(37.6% 0.159 276.0);
Tailwind
colors: {
custom: {
50: '#7668b4',
500: '#302f93',
950: '#000000',
},
}SCSS
$custom: #302f93; $custom-light: #7668b4; $custom-dark: #000000;
JSON
{
"hex": "#302f93",
"rgb": {
"r": 48,
"g": 47,
"b": 147
},
"hsl": {
"h": 240.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.37638,
"c": 0.15916,
"h": 276
},
"luminance": 0.04768
}Semantic roles & 50–950 ramp
primary
#302F93
secondary
#B7B766
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80