#302E8A#302E8A
#302E8A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.148 H 277.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #302E8A |
|---|---|
| RGB | rgb(48, 46, 138) |
| HSL | hsl(241, 50%, 36%) |
| HSV | hsv(241, 67%, 54%) |
| CMYK | cmyk(65.2%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(25.00, 30.64, -51.01) |
| CIE-LCH | lch(25.00, 59.50, 300.99°) |
| OKLab | oklab(36.62% 0.0184 -0.147) |
| OKLCH | oklch(36.62% 0.148 277.1) |
| XYZ | xyz(6.7819, 4.4168, 24.5350) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.63
Blueberry
#464196
ΔE00 5.90
Royal
#0C1793
ΔE00 6.22
Midnight Blue
#191970
ΔE00 6.48
Indigo Blue
#3A18B1
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E8A #888A2E
analogous
#2E5A8A #302E8A #5E2E8A
triadic
#302E8A #8A302E #2E8A30
tetradic
#302E8A #8A2E5A #888A2E #2E8A5E
square
#302E8A #8A2E5A #888A2E #2E8A5E
split-complementary
#302E8A #8A5E2E #5A8A2E
monochromatic
#100F2E #201F5C #302E8A #403DB8 #6966CC
Accessibility & contrast
On white
11.15
#302E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#302E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E8A
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E8A | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302e8a; /* rgb */ color: rgb(48, 46, 138); /* oklch */ color: oklch(36.6% 0.148 277.1);
Tailwind
colors: {
custom: {
50: '#7467ad',
500: '#302e8a',
950: '#000000',
},
}SCSS
$custom: #302e8a; $custom-light: #7467ad; $custom-dark: #000000;
JSON
{
"hex": "#302e8a",
"rgb": {
"r": 48,
"g": 46,
"b": 138
},
"hsl": {
"h": 241.304,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.36618,
"c": 0.14818,
"h": 277.1
},
"luminance": 0.04417
}Semantic roles & 50–950 ramp
primary
#302E8A
secondary
#B1B361
accent
#DA4ED6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F