#302AB2#302AB2
#302AB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.204 H 274.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #302AB2 |
|---|---|
| RGB | rgb(48, 42, 178) |
| HSL | hsl(243, 62%, 43%) |
| HSV | hsv(243, 76%, 70%) |
| CMYK | cmyk(73%, 76.4%, 0%, 30.2%) |
| CIE-LAB | lab(28.11, 46.55, -70.28) |
| CIE-LCH | lch(28.11, 84.30, 303.52°) |
| OKLab | oklab(40.03% 0.0144 -0.2033) |
| OKLCH | oklch(40.03% 0.204 274) |
| XYZ | xyz(10.0801, 5.4977, 42.6408) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Sapphire (survey)
#2138AB
ΔE00 4.49
True Blue
#010FCC
ΔE00 4.92
Mediumblue
#0000CD
ΔE00 5.83
Ultramarine Blue
#1805DB
ΔE00 5.97
Ultramarine
#2000B1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AB2 #ACB22A
analogous
#2A68B2 #302AB2 #742AB2
triadic
#302AB2 #B2302A #2AB230
tetradic
#302AB2 #B22A68 #ACB22A #2AB274
square
#302AB2 #B22A68 #ACB22A #2AB274
split-complementary
#302AB2 #B2742A #68B22A
monochromatic
#15134F #231E80 #302AB2 #4C46D3 #7C77DF
Accessibility & contrast
On white
10.00
#302AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#302AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AB2
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AB2 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302ab2; /* rgb */ color: rgb(48, 42, 178); /* oklch */ color: oklch(40.0% 0.204 274.0);
Tailwind
colors: {
custom: {
50: '#7d66ca',
500: '#302ab2',
950: '#000000',
},
}SCSS
$custom: #302ab2; $custom-light: #7d66ca; $custom-dark: #000000;
JSON
{
"hex": "#302ab2",
"rgb": {
"r": 48,
"g": 42,
"b": 178
},
"hsl": {
"h": 242.647,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.40034,
"c": 0.2038,
"h": 274
},
"luminance": 0.05499
}Semantic roles & 50–950 ramp
primary
#302AB2
secondary
#C3C771
accent
#E543DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82