#302B7E#302B7E
#302B7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.135 H 279.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #302B7E |
|---|---|
| RGB | rgb(48, 43, 126) |
| HSL | hsl(244, 49%, 33%) |
| HSV | hsv(244, 66%, 49%) |
| CMYK | cmyk(61.9%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(23.21, 28.38, -46.41) |
| CIE-LCH | lch(23.21, 54.40, 301.44°) |
| OKLab | oklab(34.98% 0.0223 -0.1335) |
| OKLCH | oklch(34.98% 0.135 279.5) |
| XYZ | xyz(5.8475, 3.8621, 20.1719) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.22
Darkslateblue
#483D8B
ΔE00 5.90
Royal
#0C1793
ΔE00 6.61
Blueberry
#464196
ΔE00 7.03
Sapphire (survey)
#2138AB
ΔE00 7.61
Indigo (survey)
#380282
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B7E #797E2B
analogous
#2B507E #302B7E #592B7E
triadic
#302B7E #7E302B #2B7E30
tetradic
#302B7E #7E2B50 #797E2B #2B7E59
square
#302B7E #7E2B50 #797E2B #2B7E59
split-complementary
#302B7E #7E592B #507E2B
monochromatic
#0D0C23 #1F1B50 #302B7E #413BAC #625CC7
Accessibility & contrast
On white
11.85
#302B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#302B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B7E
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B7E | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #302b7e; /* rgb */ color: rgb(48, 43, 126); /* oklch */ color: oklch(35.0% 0.135 279.5);
Tailwind
colors: {
custom: {
50: '#7165a4',
500: '#302b7e',
950: '#000000',
},
}SCSS
$custom: #302b7e; $custom-light: #7165a4; $custom-dark: #000000;
JSON
{
"hex": "#302b7e",
"rgb": {
"r": 48,
"g": 43,
"b": 126
},
"hsl": {
"h": 243.614,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.34981,
"c": 0.13539,
"h": 279.5
},
"luminance": 0.03862
}Semantic roles & 50–950 ramp
primary
#302B7E
secondary
#A8AD58
accent
#D94FD0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F