#302F99#302F99
#302F99 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.167 H 275.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #302F99 |
|---|---|
| RGB | rgb(48, 47, 153) |
| HSL | hsl(241, 53%, 39%) |
| HSV | hsv(241, 69%, 60%) |
| CMYK | cmyk(68.6%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(26.62, 35.25, -57.61) |
| CIE-LCH | lch(26.62, 67.54, 301.46°) |
| OKLab | oklab(38.22% 0.0159 -0.1664) |
| OKLCH | oklch(38.22% 0.167 275.5) |
| XYZ | xyz(7.9833, 4.9606, 30.6676) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Blueberry
#464196
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 5.97
Royal
#0C1793
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F99 #98992F
analogous
#2F6399 #302F99 #652F99
triadic
#302F99 #99302F #2F9930
tetradic
#302F99 #992F63 #98992F #2F9965
square
#302F99 #992F63 #98992F #2F9965
split-complementary
#302F99 #99652F #63992F
monochromatic
#13123B #21216A #302F99 #4241C5 #706FD3
Accessibility & contrast
On white
10.54
#302F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#302F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F99
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F99 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302f99; /* rgb */ color: rgb(48, 47, 153); /* oklch */ color: oklch(38.2% 0.167 275.5);
Tailwind
colors: {
custom: {
50: '#7768b8',
500: '#302f99',
950: '#000000',
},
}SCSS
$custom: #302f99; $custom-light: #7768b8; $custom-dark: #000000;
JSON
{
"hex": "#302f99",
"rgb": {
"r": 48,
"g": 47,
"b": 153
},
"hsl": {
"h": 240.566,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.38216,
"c": 0.16714,
"h": 275.5
},
"luminance": 0.04961
}Semantic roles & 50–950 ramp
primary
#302F99
secondary
#BABA69
accent
#DC4BDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80