#302C97#302C97
#302C97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.168 H 276.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #302C97 |
|---|---|
| RGB | rgb(48, 44, 151) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 59%) |
| CMYK | cmyk(68.2%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.75, 36.41, -57.81) |
| CIE-LCH | lch(25.75, 68.33, 302.20°) |
| OKLab | oklab(37.53% 0.0183 -0.167) |
| OKLCH | oklch(37.53% 0.168 276.3) |
| XYZ | xyz(7.7037, 4.6634, 29.7663) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.63
Royal
#0C1793
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 6.36
Blueberry
#464196
ΔE00 6.36
Cobalt Blue
#030AA7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C97 #93972C
analogous
#2C5D97 #302C97 #652C97
triadic
#302C97 #97302C #2C9730
tetradic
#302C97 #972C5D #93972C #2C9765
square
#302C97 #972C5D #93972C #2C9765
split-complementary
#302C97 #97652C #5D972C
monochromatic
#121038 #211E68 #302C97 #403AC6 #6E6AD4
Accessibility & contrast
On white
10.87
#302C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#302C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C97
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C97 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302c97; /* rgb */ color: rgb(48, 44, 151); /* oklch */ color: oklch(37.5% 0.168 276.3);
Tailwind
colors: {
custom: {
50: '#7766b7',
500: '#302c97',
950: '#000000',
},
}SCSS
$custom: #302c97; $custom-light: #7766b7; $custom-dark: #000000;
JSON
{
"hex": "#302c97",
"rgb": {
"r": 48,
"g": 44,
"b": 151
},
"hsl": {
"h": 242.243,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.37532,
"c": 0.16797,
"h": 276.3
},
"luminance": 0.04664
}Semantic roles & 50–950 ramp
primary
#302C97
secondary
#B7BA65
accent
#DE4AD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80