#302C79#302C79
#302C79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.127 H 279.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #302C79 |
|---|---|
| RGB | rgb(48, 44, 121) |
| HSL | hsl(243, 47%, 32%) |
| HSV | hsv(243, 64%, 47%) |
| CMYK | cmyk(60.3%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(23.03, 25.97, -43.53) |
| CIE-LCH | lch(23.03, 50.69, 300.82°) |
| OKLab | oklab(34.72% 0.0216 -0.1251) |
| OKLCH | oklch(34.72% 0.127 279.8) |
| XYZ | xyz(5.5697, 3.8098, 18.5273) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.43
Darkslateblue
#483D8B
ΔE00 5.88
Blueberry
#464196
ΔE00 7.19
Royal
#0C1793
ΔE00 7.49
Sapphire (survey)
#2138AB
ΔE00 8.25
Marine
#042E60
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C79 #75792C
analogous
#2C4E79 #302C79 #572C79
triadic
#302C79 #79302C #2C7930
tetradic
#302C79 #792C4E #75792C #2C7957
square
#302C79 #792C4E #75792C #2C7957
split-complementary
#302C79 #79572C #4E792C
monochromatic
#0C0B1F #1E1C4C #302C79 #423CA6 #615CC4
Accessibility & contrast
On white
11.92
#302C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#302C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C79
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C79 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#033F4E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #302c79; /* rgb */ color: rgb(48, 44, 121); /* oklch */ color: oklch(34.7% 0.127 279.8);
Tailwind
colors: {
custom: {
50: '#7065a0',
500: '#302c79',
950: '#000000',
},
}SCSS
$custom: #302c79; $custom-light: #7065a0; $custom-dark: #000000;
JSON
{
"hex": "#302c79",
"rgb": {
"r": 48,
"g": 44,
"b": 121
},
"hsl": {
"h": 243.117,
"s": 46.667,
"l": 32.353
},
"oklch": {
"l": 0.34717,
"c": 0.12693,
"h": 279.8
},
"luminance": 0.0381
}Semantic roles & 50–950 ramp
primary
#302C79
secondary
#A5AA57
accent
#D651CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E