#302D8D#302D8D
#302D8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.154 H 277.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #302D8D |
|---|---|
| RGB | rgb(48, 45, 141) |
| HSL | hsl(242, 52%, 36%) |
| HSV | hsv(242, 68%, 55%) |
| CMYK | cmyk(66%, 68.1%, 0%, 44.7%) |
| CIE-LAB | lab(25.04, 32.33, -52.82) |
| CIE-LCH | lch(25.04, 61.93, 301.47°) |
| OKLab | oklab(36.73% 0.0189 -0.1523) |
| OKLCH | oklch(36.73% 0.154 277.1) |
| XYZ | xyz(6.9635, 4.4277, 25.6818) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 5.67
Royal
#0C1793
ΔE00 5.79
Blueberry
#464196
ΔE00 6.08
Midnight Blue
#191970
ΔE00 6.52
Indigo Blue
#3A18B1
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302D8D #8A8D2D
analogous
#2D5A8D #302D8D #602D8D
triadic
#302D8D #8D302D #2D8D30
tetradic
#302D8D #8D2D5A #8A8D2D #2D8D60
square
#302D8D #8D2D5A #8A8D2D #2D8D60
split-complementary
#302D8D #8D602D #5A8D2D
monochromatic
#100F30 #201E5F #302D8D #403CBB #6966CE
Accessibility & contrast
On white
11.14
#302D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#302D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302D8D
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302D8D | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302d8d; /* rgb */ color: rgb(48, 45, 141); /* oklch */ color: oklch(36.7% 0.154 277.1);
Tailwind
colors: {
custom: {
50: '#7466af',
500: '#302d8d',
950: '#000000',
},
}SCSS
$custom: #302d8d; $custom-light: #7466af; $custom-dark: #000000;
JSON
{
"hex": "#302d8d",
"rgb": {
"r": 48,
"g": 45,
"b": 141
},
"hsl": {
"h": 241.875,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.36726,
"c": 0.15351,
"h": 277.1
},
"luminance": 0.04428
}Semantic roles & 50–950 ramp
primary
#302D8D
secondary
#B2B561
accent
#DB4DD7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F