#302C92#302C92
#302C92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.161 H 276.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #302C92 |
|---|---|
| RGB | rgb(48, 44, 146) |
| HSL | hsl(242, 54%, 37%) |
| HSV | hsv(242, 70%, 57%) |
| CMYK | cmyk(67.1%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(25.27, 34.69, -55.52) |
| CIE-LCH | lch(25.27, 65.47, 302.00°) |
| OKLab | oklab(37.04% 0.019 -0.1603) |
| OKLCH | oklch(37.04% 0.161 276.8) |
| XYZ | xyz(7.3062, 4.5044, 27.6730) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.06
Royal
#0C1793
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.22
Blueberry
#464196
ΔE00 6.30
Midnight Blue
#191970
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C92 #8E922C
analogous
#2C5B92 #302C92 #632C92
triadic
#302C92 #92302C #2C9230
tetradic
#302C92 #922C5B #8E922C #2C9263
square
#302C92 #922C5B #8E922C #2C9263
split-complementary
#302C92 #92632C #5B922C
monochromatic
#111034 #211E63 #302C92 #3F3AC1 #6B67D1
Accessibility & contrast
On white
11.05
#302C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#302C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C92
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C92 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302c92; /* rgb */ color: rgb(48, 44, 146); /* oklch */ color: oklch(37.0% 0.161 276.8);
Tailwind
colors: {
custom: {
50: '#7666b3',
500: '#302c92',
950: '#000000',
},
}SCSS
$custom: #302c92; $custom-light: #7666b3; $custom-dark: #000000;
JSON
{
"hex": "#302c92",
"rgb": {
"r": 48,
"g": 44,
"b": 146
},
"hsl": {
"h": 242.353,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.3704,
"c": 0.1614,
"h": 276.8
},
"luminance": 0.04505
}Semantic roles & 50–950 ramp
primary
#302C92
secondary
#B4B862
accent
#DD4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80