#302C7C#302C7C
#302C7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.131 H 279.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #302C7C |
|---|---|
| RGB | rgb(48, 44, 124) |
| HSL | hsl(243, 48%, 33%) |
| HSV | hsv(243, 65%, 49%) |
| CMYK | cmyk(61.3%, 64.5%, 0%, 51.4%) |
| CIE-LAB | lab(23.29, 27.02, -45.02) |
| CIE-LCH | lch(23.29, 52.51, 300.97°) |
| OKLab | oklab(34.98% 0.0214 -0.1295) |
| OKLCH | oklch(34.98% 0.131 279.4) |
| XYZ | xyz(5.7565, 3.8846, 19.5113) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 5.76
Blueberry
#464196
ΔE00 6.96
Royal
#0C1793
ΔE00 7.09
Sapphire (survey)
#2138AB
ΔE00 7.79
Marine
#042E60
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C7C #787C2C
analogous
#2C507C #302C7C #582C7C
triadic
#302C7C #7C302C #2C7C30
tetradic
#302C7C #7C2C50 #787C2C #2C7C58
square
#302C7C #7C2C50 #787C2C #2C7C58
split-complementary
#302C7C #7C582C #507C2C
monochromatic
#0D0C22 #1F1C4F #302C7C #413CA9 #625DC5
Accessibility & contrast
On white
11.82
#302C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#302C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C7C
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C7C | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #302c7c; /* rgb */ color: rgb(48, 44, 124); /* oklch */ color: oklch(35.0% 0.131 279.4);
Tailwind
colors: {
custom: {
50: '#7165a3',
500: '#302c7c',
950: '#000000',
},
}SCSS
$custom: #302c7c; $custom-light: #7165a3; $custom-dark: #000000;
JSON
{
"hex": "#302c7c",
"rgb": {
"r": 48,
"g": 44,
"b": 124
},
"hsl": {
"h": 243,
"s": 47.619,
"l": 32.941
},
"oklch": {
"l": 0.34983,
"c": 0.13123,
"h": 279.4
},
"luminance": 0.03885
}Semantic roles & 50–950 ramp
primary
#302C7C
secondary
#A7AC58
accent
#D751D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F