#302C98#302C98
#302C98 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.169 H 276.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #302C98 |
|---|---|
| RGB | rgb(48, 44, 152) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 60%) |
| CMYK | cmyk(68.4%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(25.85, 36.75, -58.27) |
| CIE-LCH | lch(25.85, 68.89, 302.24°) |
| OKLab | oklab(37.63% 0.0181 -0.1683) |
| OKLCH | oklch(37.63% 0.169 276.1) |
| XYZ | xyz(7.7852, 4.6961, 30.1958) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Royal
#0C1793
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 5.53
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.42
Cobalt Blue
#030AA7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C98 #94982C
analogous
#2C5E98 #302C98 #662C98
triadic
#302C98 #98302C #2C9830
tetradic
#302C98 #982C5E #94982C #2C9866
square
#302C98 #982C5E #94982C #2C9866
split-complementary
#302C98 #98662C #5E982C
monochromatic
#121139 #211E69 #302C98 #403BC6 #6E6AD4
Accessibility & contrast
On white
10.83
#302C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#302C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C98
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C98 | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302c98; /* rgb */ color: rgb(48, 44, 152); /* oklch */ color: oklch(37.6% 0.169 276.1);
Tailwind
colors: {
custom: {
50: '#7766b7',
500: '#302c98',
950: '#000000',
},
}SCSS
$custom: #302c98; $custom-light: #7766b7; $custom-dark: #000000;
JSON
{
"hex": "#302c98",
"rgb": {
"r": 48,
"g": 44,
"b": 152
},
"hsl": {
"h": 242.222,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.37631,
"c": 0.16926,
"h": 276.1
},
"luminance": 0.04697
}Semantic roles & 50–950 ramp
primary
#302C98
secondary
#B8BB65
accent
#DE49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80