#302C95#302C95
#302C95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.165 H 276.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #302C95 |
|---|---|
| RGB | rgb(48, 44, 149) |
| HSL | hsl(242, 54%, 38%) |
| HSV | hsv(242, 70%, 58%) |
| CMYK | cmyk(67.8%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.56, 35.72, -56.90) |
| CIE-LCH | lch(25.56, 67.19, 302.12°) |
| OKLab | oklab(37.33% 0.0186 -0.1643) |
| OKLCH | oklch(37.33% 0.165 276.5) |
| XYZ | xyz(7.5426, 4.5990, 28.9182) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.79
Royal
#0C1793
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.25
Blueberry
#464196
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C95 #91952C
analogous
#2C5C95 #302C95 #652C95
triadic
#302C95 #95302C #2C9530
tetradic
#302C95 #952C5C #91952C #2C9565
square
#302C95 #952C5C #91952C #2C9565
split-complementary
#302C95 #95652C #5C952C
monochromatic
#121037 #211E66 #302C95 #3F3AC4 #6D69D3
Accessibility & contrast
On white
10.94
#302C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#302C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C95
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C95 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302c95; /* rgb */ color: rgb(48, 44, 149); /* oklch */ color: oklch(37.3% 0.165 276.5);
Tailwind
colors: {
custom: {
50: '#7666b5',
500: '#302c95',
950: '#000000',
},
}SCSS
$custom: #302c95; $custom-light: #7666b5; $custom-dark: #000000;
JSON
{
"hex": "#302c95",
"rgb": {
"r": 48,
"g": 44,
"b": 149
},
"hsl": {
"h": 242.286,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.37334,
"c": 0.16535,
"h": 276.5
},
"luminance": 0.046
}Semantic roles & 50–950 ramp
primary
#302C95
secondary
#B6B964
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80