#302C91#302C91
#302C91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.160 H 276.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #302C91 |
|---|---|
| RGB | rgb(48, 44, 145) |
| HSL | hsl(242, 53%, 37%) |
| HSV | hsv(242, 70%, 57%) |
| CMYK | cmyk(66.9%, 69.7%, 0%, 43.1%) |
| CIE-LAB | lab(25.18, 34.35, -55.06) |
| CIE-LCH | lch(25.18, 64.90, 301.96°) |
| OKLab | oklab(36.94% 0.0192 -0.1589) |
| OKLCH | oklch(36.94% 0.16 276.9) |
| XYZ | xyz(7.2288, 4.4735, 27.2651) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.16
Royal
#0C1793
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 6.04
Blueberry
#464196
ΔE00 6.30
Indigo Blue
#3A18B1
ΔE00 6.35
Midnight Blue
#191970
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C91 #8D912C
analogous
#2C5B91 #302C91 #632C91
triadic
#302C91 #91302C #2C9130
tetradic
#302C91 #912C5B #8D912C #2C9163
square
#302C91 #912C5B #8D912C #2C9163
split-complementary
#302C91 #91632C #5B912C
monochromatic
#111033 #201E62 #302C91 #403AC0 #6B67D1
Accessibility & contrast
On white
11.08
#302C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#302C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C91
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C91 | 1.00 | 11.08 | 1.89 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302c91; /* rgb */ color: rgb(48, 44, 145); /* oklch */ color: oklch(36.9% 0.160 276.9);
Tailwind
colors: {
custom: {
50: '#7566b2',
500: '#302c91',
950: '#000000',
},
}SCSS
$custom: #302c91; $custom-light: #7566b2; $custom-dark: #000000;
JSON
{
"hex": "#302c91",
"rgb": {
"r": 48,
"g": 44,
"b": 145
},
"hsl": {
"h": 242.376,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.36943,
"c": 0.16007,
"h": 276.9
},
"luminance": 0.04474
}Semantic roles & 50–950 ramp
primary
#302C91
secondary
#B4B762
accent
#DD4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80