#302ABB#302ABB
#302ABB is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.215 H 273.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #302ABB |
|---|---|
| RGB | rgb(48, 42, 187) |
| HSL | hsl(242, 63%, 45%) |
| HSV | hsv(242, 78%, 73%) |
| CMYK | cmyk(74.3%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(29.08, 49.43, -74.01) |
| CIE-LCH | lch(29.08, 89.00, 303.74°) |
| OKLab | oklab(41.01% 0.0124 -0.2141) |
| OKLCH | oklch(41.01% 0.215 273.3) |
| XYZ | xyz(11.0135, 5.8710, 47.5569) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.72
True Blue
#010FCC
ΔE00 4.44
Sapphire (survey)
#2138AB
ΔE00 4.88
Ultramarine Blue
#1805DB
ΔE00 5.18
Violet Blue
#510AC9
ΔE00 5.41
Mediumblue
#0000CD
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302ABB #B5BB2A
analogous
#2A6CBB #302ABB #792ABB
triadic
#302ABB #BB302A #2ABB30
tetradic
#302ABB #BB2A6C #B5BB2A #2ABB79
square
#302ABB #BB2A6C #B5BB2A #2ABB79
split-complementary
#302ABB #BB792A #6CBB2A
monochromatic
#161457 #231F89 #302ABB #514CD7 #827DE2
Accessibility & contrast
On white
9.66
#302ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#302ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302ABB
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302ABB | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #302abb; /* rgb */ color: rgb(48, 42, 187); /* oklch */ color: oklch(41.0% 0.215 273.3);
Tailwind
colors: {
custom: {
50: '#7f66d1',
500: '#302abb',
950: '#000000',
},
}SCSS
$custom: #302abb; $custom-light: #7f66d1; $custom-dark: #000000;
JSON
{
"hex": "#302abb",
"rgb": {
"r": 48,
"g": 42,
"b": 187
},
"hsl": {
"h": 242.483,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.41009,
"c": 0.21451,
"h": 273.3
},
"luminance": 0.05872
}Semantic roles & 50–950 ramp
primary
#302ABB
secondary
#C7CA76
accent
#E641E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83