#302C7E#302C7E
#302C7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.134 H 279.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #302C7E |
|---|---|
| RGB | rgb(48, 44, 126) |
| HSL | hsl(243, 48%, 33%) |
| HSV | hsv(243, 65%, 49%) |
| CMYK | cmyk(61.9%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(23.46, 27.72, -46.01) |
| CIE-LCH | lch(23.46, 53.71, 301.07°) |
| OKLab | oklab(35.16% 0.0213 -0.1324) |
| OKLCH | oklch(35.16% 0.134 279.1) |
| XYZ | xyz(5.8843, 3.9357, 20.1842) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.71
Blueberry
#464196
ΔE00 6.83
Royal
#0C1793
ΔE00 6.84
Sapphire (survey)
#2138AB
ΔE00 7.50
Indigo (survey)
#380282
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C7E #7A7E2C
analogous
#2C517E #302C7E #592C7E
triadic
#302C7E #7E302C #2C7E30
tetradic
#302C7E #7E2C51 #7A7E2C #2C7E59
square
#302C7E #7E2C51 #7A7E2C #2C7E59
split-complementary
#302C7E #7E592C #517E2C
monochromatic
#0D0C23 #1F1C51 #302C7E #413CAB #635EC7
Accessibility & contrast
On white
11.75
#302C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#302C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C7E
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C7E | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #302c7e; /* rgb */ color: rgb(48, 44, 126); /* oklch */ color: oklch(35.2% 0.134 279.1);
Tailwind
colors: {
custom: {
50: '#7165a4',
500: '#302c7e',
950: '#000000',
},
}SCSS
$custom: #302c7e; $custom-light: #7165a4; $custom-dark: #000000;
JSON
{
"hex": "#302c7e",
"rgb": {
"r": 48,
"g": 44,
"b": 126
},
"hsl": {
"h": 242.927,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.35162,
"c": 0.13406,
"h": 279.1
},
"luminance": 0.03936
}Semantic roles & 50–950 ramp
primary
#302C7E
secondary
#A9AD59
accent
#D850D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F