#302C99#302C99
#302C99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.171 H 276.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #302C99 |
|---|---|
| RGB | rgb(48, 44, 153) |
| HSL | hsl(242, 55%, 39%) |
| HSV | hsv(242, 71%, 60%) |
| CMYK | cmyk(68.6%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.95, 37.10, -58.72) |
| CIE-LCH | lch(25.95, 69.46, 302.28°) |
| OKLab | oklab(37.73% 0.018 -0.1696) |
| OKLCH | oklch(37.73% 0.171 276) |
| XYZ | xyz(7.8675, 4.7289, 30.6290) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Royal
#0C1793
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 5.43
Blueberry
#464196
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.49
Cobalt Blue
#030AA7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C99 #95992C
analogous
#2C5E99 #302C99 #662C99
triadic
#302C99 #99302C #2C9930
tetradic
#302C99 #992C5E #95992C #2C9966
square
#302C99 #992C5E #95992C #2C9966
split-complementary
#302C99 #99662C #5E992C
monochromatic
#12113A #211E69 #302C99 #413BC7 #6F6BD4
Accessibility & contrast
On white
10.79
#302C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#302C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C99
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C99 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302c99; /* rgb */ color: rgb(48, 44, 153); /* oklch */ color: oklch(37.7% 0.171 276.0);
Tailwind
colors: {
custom: {
50: '#7766b8',
500: '#302c99',
950: '#000000',
},
}SCSS
$custom: #302c99; $custom-light: #7766b8; $custom-dark: #000000;
JSON
{
"hex": "#302c99",
"rgb": {
"r": 48,
"g": 44,
"b": 153
},
"hsl": {
"h": 242.202,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.3773,
"c": 0.17057,
"h": 276
},
"luminance": 0.0473
}Semantic roles & 50–950 ramp
primary
#302C99
secondary
#B8BB66
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80