#302ABF#302ABF
#302ABF is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.219 H 273.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #302ABF |
|---|---|
| RGB | rgb(48, 42, 191) |
| HSL | hsl(242, 64%, 46%) |
| HSV | hsv(242, 78%, 75%) |
| CMYK | cmyk(74.9%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(29.52, 50.70, -75.65) |
| CIE-LCH | lch(29.52, 91.06, 303.83°) |
| OKLab | oklab(41.45% 0.0116 -0.2189) |
| OKLCH | oklch(41.45% 0.219 273) |
| XYZ | xyz(11.4477, 6.0447, 49.8435) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
True Blue
#010FCC
ΔE00 4.34
Ultramarine Blue
#1805DB
ΔE00 4.89
Sapphire (survey)
#2138AB
ΔE00 5.12
Violet Blue
#510AC9
ΔE00 5.21
Pure Blue
#0203E2
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302ABF #B9BF2A
analogous
#2A6EBF #302ABF #7A2ABF
triadic
#302ABF #BF302A #2ABF30
tetradic
#302ABF #BF2A6E #B9BF2A #2ABF7A
square
#302ABF #BF2A6E #B9BF2A #2ABF7A
split-complementary
#302ABF #BF7A2A #6EBF2A
monochromatic
#17145B #231F8D #302ABF #544ED8 #8480E3
Accessibility & contrast
On white
9.51
#302ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#302ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302ABF
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302ABF | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#003EBC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #302abf; /* rgb */ color: rgb(48, 42, 191); /* oklch */ color: oklch(41.4% 0.219 273.0);
Tailwind
colors: {
custom: {
50: '#8067d4',
500: '#302abf',
950: '#000000',
},
}SCSS
$custom: #302abf; $custom-light: #8067d4; $custom-dark: #000000;
JSON
{
"hex": "#302abf",
"rgb": {
"r": 48,
"g": 42,
"b": 191
},
"hsl": {
"h": 242.416,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.41447,
"c": 0.21921,
"h": 273
},
"luminance": 0.06046
}Semantic roles & 50–950 ramp
primary
#302ABF
secondary
#C9CC79
accent
#E741E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83