#302B95#302B95
#302B95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.166 H 276.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #302B95 |
|---|---|
| RGB | rgb(48, 43, 149) |
| HSL | hsl(243, 55%, 38%) |
| HSV | hsv(243, 71%, 58%) |
| CMYK | cmyk(67.8%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.34, 36.34, -57.27) |
| CIE-LCH | lch(25.34, 67.82, 302.39°) |
| OKLab | oklab(37.17% 0.0193 -0.1654) |
| OKLCH | oklch(37.17% 0.166 276.7) |
| XYZ | xyz(7.5058, 4.5254, 28.9059) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.99
Royal
#0C1793
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 6.43
Blueberry
#464196
ΔE00 6.56
Cobalt Blue
#030AA7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B95 #90952B
analogous
#2B5B95 #302B95 #652B95
triadic
#302B95 #95302B #2B9530
tetradic
#302B95 #952B5B #90952B #2B9565
square
#302B95 #952B5B #90952B #2B9565
split-complementary
#302B95 #95652B #5B952B
monochromatic
#111036 #211D66 #302B95 #3F39C4 #6C67D3
Accessibility & contrast
On white
11.02
#302B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#302B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B95
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B95 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302b95; /* rgb */ color: rgb(48, 43, 149); /* oklch */ color: oklch(37.2% 0.166 276.7);
Tailwind
colors: {
custom: {
50: '#7665b5',
500: '#302b95',
950: '#000000',
},
}SCSS
$custom: #302b95; $custom-light: #7665b5; $custom-dark: #000000;
JSON
{
"hex": "#302b95",
"rgb": {
"r": 48,
"g": 43,
"b": 149
},
"hsl": {
"h": 242.83,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.37174,
"c": 0.16649,
"h": 276.7
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#302B95
secondary
#B5BA62
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80