#302E8E#302E8E
#302E8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.154 H 276.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #302E8E |
|---|---|
| RGB | rgb(48, 46, 142) |
| HSL | hsl(241, 51%, 37%) |
| HSV | hsv(241, 68%, 56%) |
| CMYK | cmyk(66.2%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(25.37, 32.05, -52.90) |
| CIE-LCH | lch(25.37, 61.85, 301.21°) |
| OKLab | oklab(36.99% 0.018 -0.1526) |
| OKLCH | oklch(36.99% 0.154 276.7) |
| XYZ | xyz(7.0768, 4.5348, 26.0883) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 5.53
Blueberry
#464196
ΔE00 5.84
Royal
#0C1793
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.79
Indigo Blue
#3A18B1
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E8E #8C8E2E
analogous
#2E5C8E #302E8E #602E8E
triadic
#302E8E #8E302E #2E8E30
tetradic
#302E8E #8E2E5C #8C8E2E #2E8E60
square
#302E8E #8E2E5C #8C8E2E #2E8E60
split-complementary
#302E8E #8E602E #5C8E2E
monochromatic
#111032 #201F60 #302E8E #403DBC #6A68CE
Accessibility & contrast
On white
11.01
#302E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#302E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E8E
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E8E | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302e8e; /* rgb */ color: rgb(48, 46, 142); /* oklch */ color: oklch(37.0% 0.154 276.7);
Tailwind
colors: {
custom: {
50: '#7567b0',
500: '#302e8e',
950: '#000000',
},
}SCSS
$custom: #302e8e; $custom-light: #7567b0; $custom-dark: #000000;
JSON
{
"hex": "#302e8e",
"rgb": {
"r": 48,
"g": 46,
"b": 142
},
"hsl": {
"h": 241.25,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.36993,
"c": 0.15364,
"h": 276.7
},
"luminance": 0.04535
}Semantic roles & 50–950 ramp
primary
#302E8E
secondary
#B3B563
accent
#DB4DD8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80