#302C96#302C96
#302C96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.167 H 276.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #302C96 |
|---|---|
| RGB | rgb(48, 44, 150) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 59%) |
| CMYK | cmyk(68%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.66, 36.07, -57.36) |
| CIE-LCH | lch(25.66, 67.76, 302.16°) |
| OKLab | oklab(37.43% 0.0184 -0.1656) |
| OKLCH | oklch(37.43% 0.167 276.4) |
| XYZ | xyz(7.6228, 4.6311, 29.3404) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.71
Royal
#0C1793
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.30
Blueberry
#464196
ΔE00 6.35
Cobalt Blue
#030AA7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C96 #92962C
analogous
#2C5D96 #302C96 #652C96
triadic
#302C96 #96302C #2C9630
tetradic
#302C96 #962C5D #92962C #2C9665
square
#302C96 #962C5D #92962C #2C9665
split-complementary
#302C96 #96652C #5D962C
monochromatic
#121037 #211E67 #302C96 #3F3AC5 #6D69D3
Accessibility & contrast
On white
10.90
#302C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#302C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C96
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C96 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302c96; /* rgb */ color: rgb(48, 44, 150); /* oklch */ color: oklch(37.4% 0.167 276.4);
Tailwind
colors: {
custom: {
50: '#7766b6',
500: '#302c96',
950: '#000000',
},
}SCSS
$custom: #302c96; $custom-light: #7766b6; $custom-dark: #000000;
JSON
{
"hex": "#302c96",
"rgb": {
"r": 48,
"g": 44,
"b": 150
},
"hsl": {
"h": 242.264,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.37433,
"c": 0.16666,
"h": 276.4
},
"luminance": 0.04632
}Semantic roles & 50–950 ramp
primary
#302C96
secondary
#B7BA64
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80