#302EAB#302EAB
#302EAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.191 H 274.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #302EAB |
|---|---|
| RGB | rgb(48, 46, 171) |
| HSL | hsl(241, 58%, 43%) |
| HSV | hsv(241, 73%, 67%) |
| CMYK | cmyk(71.9%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(28.17, 42.00, -65.98) |
| CIE-LCH | lch(28.17, 78.21, 302.48°) |
| OKLab | oklab(39.86% 0.0137 -0.1908) |
| OKLCH | oklch(39.86% 0.191 274.1) |
| XYZ | xyz(9.5442, 5.5217, 39.0830) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Indigo Blue
#3A18B1
ΔE00 4.56
True Blue
#010FCC
ΔE00 6.16
Ocean Blue
#4F42B5
ΔE00 6.29
Royal
#0C1793
ΔE00 6.53
Blue Blue
#2242C7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EAB #A9AB2E
analogous
#2E6AAB #302EAB #6E2EAB
triadic
#302EAB #AB302E #2EAB30
tetradic
#302EAB #AB2E6A #A9AB2E #2EAB6E
square
#302EAB #AB2E6A #A9AB2E #2EAB6E
split-complementary
#302EAB #AB6E2E #6AAB2E
monochromatic
#15144B #22217B #302EAB #4A48CE #7A79DB
Accessibility & contrast
On white
9.98
#302EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#302EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EAB
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EAB | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302eab; /* rgb */ color: rgb(48, 46, 171); /* oklch */ color: oklch(39.9% 0.191 274.1);
Tailwind
colors: {
custom: {
50: '#7b68c5',
500: '#302eab',
950: '#000000',
},
}SCSS
$custom: #302eab; $custom-light: #7b68c5; $custom-dark: #000000;
JSON
{
"hex": "#302eab",
"rgb": {
"r": 48,
"g": 46,
"b": 171
},
"hsl": {
"h": 240.96,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.39862,
"c": 0.19129,
"h": 274.1
},
"luminance": 0.05523
}Semantic roles & 50–950 ramp
primary
#302EAB
secondary
#C2C372
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82