#302D8C#302D8C
#302D8C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.152 H 277.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #302D8C |
|---|---|
| RGB | rgb(48, 45, 140) |
| HSL | hsl(242, 51%, 36%) |
| HSV | hsv(242, 68%, 55%) |
| CMYK | cmyk(65.7%, 67.9%, 0%, 45.1%) |
| CIE-LAB | lab(24.95, 31.98, -52.35) |
| CIE-LCH | lch(24.95, 61.34, 301.42°) |
| OKLab | oklab(36.63% 0.019 -0.151) |
| OKLCH | oklch(36.63% 0.152 277.2) |
| XYZ | xyz(6.8894, 4.3980, 25.2917) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 5.64
Royal
#0C1793
ΔE00 5.84
Blueberry
#464196
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302D8C #898C2D
analogous
#2D5A8C #302D8C #602D8C
triadic
#302D8C #8C302D #2D8C30
tetradic
#302D8C #8C2D5A #898C2D #2D8C60
square
#302D8C #8C2D5A #898C2D #2D8C60
split-complementary
#302D8C #8C602D #5A8C2D
monochromatic
#100F2F #201E5E #302D8C #403CBA #6966CE
Accessibility & contrast
On white
11.17
#302D8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#302D8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302D8C
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302D8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302D8C | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302d8c; /* rgb */ color: rgb(48, 45, 140); /* oklch */ color: oklch(36.6% 0.152 277.2);
Tailwind
colors: {
custom: {
50: '#7466ae',
500: '#302d8c',
950: '#000000',
},
}SCSS
$custom: #302d8c; $custom-light: #7466ae; $custom-dark: #000000;
JSON
{
"hex": "#302d8c",
"rgb": {
"r": 48,
"g": 45,
"b": 140
},
"hsl": {
"h": 241.895,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.36631,
"c": 0.15215,
"h": 277.2
},
"luminance": 0.04399
}Semantic roles & 50–950 ramp
primary
#302D8C
secondary
#B2B460
accent
#DB4DD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F