#302E90#302E90
#302E90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.156 H 276.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #302E90 |
|---|---|
| RGB | rgb(48, 46, 144) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 68%, 56%) |
| CMYK | cmyk(66.7%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(25.55, 32.74, -53.84) |
| CIE-LCH | lch(25.55, 63.01, 301.31°) |
| OKLab | oklab(37.18% 0.0178 -0.1553) |
| OKLCH | oklch(37.18% 0.156 276.5) |
| XYZ | xyz(7.2283, 4.5954, 26.8862) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 5.62
Blueberry
#464196
ΔE00 5.83
Royal
#0C1793
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 6.88
Midnight Blue
#191970
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E90 #8E902E
analogous
#2E5D90 #302E90 #612E90
triadic
#302E90 #90302E #2E9030
tetradic
#302E90 #902E5D #8E902E #2E9061
square
#302E90 #902E5D #8E902E #2E9061
split-complementary
#302E90 #90612E #5D902E
monochromatic
#111033 #211F62 #302E90 #3F3DBE #6B69CF
Accessibility & contrast
On white
10.94
#302E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#302E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E90
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E90 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302e90; /* rgb */ color: rgb(48, 46, 144); /* oklch */ color: oklch(37.2% 0.156 276.5);
Tailwind
colors: {
custom: {
50: '#7567b1',
500: '#302e90',
950: '#000000',
},
}SCSS
$custom: #302e90; $custom-light: #7567b1; $custom-dark: #000000;
JSON
{
"hex": "#302e90",
"rgb": {
"r": 48,
"g": 46,
"b": 144
},
"hsl": {
"h": 241.224,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.37182,
"c": 0.15634,
"h": 276.5
},
"luminance": 0.04596
}Semantic roles & 50–950 ramp
primary
#302E90
secondary
#B4B664
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80