#302AC0#302AC0
#302AC0 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.220 H 273.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #302AC0 |
|---|---|
| RGB | rgb(48, 42, 192) |
| HSL | hsl(242, 64%, 46%) |
| HSV | hsv(242, 78%, 75%) |
| CMYK | cmyk(75%, 78.1%, 0%, 24.7%) |
| CIE-LAB | lab(29.64, 51.01, -76.05) |
| CIE-LCH | lch(29.64, 91.58, 303.85°) |
| OKLab | oklab(41.56% 0.0114 -0.2201) |
| OKLCH | oklch(41.56% 0.22 273) |
| XYZ | xyz(11.5581, 6.0889, 50.4251) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
True Blue
#010FCC
ΔE00 4.32
Ultramarine Blue
#1805DB
ΔE00 4.83
Violet Blue
#510AC9
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.18
Pure Blue
#0203E2
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AC0 #BAC02A
analogous
#2A6FC0 #302AC0 #7B2AC0
triadic
#302AC0 #C0302A #2AC030
tetradic
#302AC0 #C02A6F #BAC02A #2AC07B
square
#302AC0 #C02A6F #BAC02A #2AC07B
split-complementary
#302AC0 #C07B2A #6FC02A
monochromatic
#17145C #231F8E #302AC0 #544FD8 #8581E3
Accessibility & contrast
On white
9.47
#302AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#302AC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AC0
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AC0 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#003EBD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #302ac0; /* rgb */ color: rgb(48, 42, 192); /* oklch */ color: oklch(41.6% 0.220 273.0);
Tailwind
colors: {
custom: {
50: '#8067d4',
500: '#302ac0',
950: '#000000',
},
}SCSS
$custom: #302ac0; $custom-light: #8067d4; $custom-dark: #000000;
JSON
{
"hex": "#302ac0",
"rgb": {
"r": 48,
"g": 42,
"b": 192
},
"hsl": {
"h": 242.4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.41557,
"c": 0.22037,
"h": 273
},
"luminance": 0.0609
}Semantic roles & 50–950 ramp
primary
#302AC0
secondary
#C9CC7A
accent
#E741E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83