#302CA0#302CA0
#302CA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.180 H 275.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA0 |
|---|---|
| RGB | rgb(48, 44, 160) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(70%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(26.64, 39.47, -61.85) |
| CIE-LCH | lch(26.64, 73.38, 302.54°) |
| OKLab | oklab(38.44% 0.0168 -0.1788) |
| OKLCH | oklch(38.44% 0.18 275.4) |
| XYZ | xyz(8.4627, 4.9670, 33.7636) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Indigo Blue
#3A18B1
ΔE00 4.76
Royal
#0C1793
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 6.48
Blueberry
#464196
ΔE00 6.63
Ultramarine
#2000B1
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA0 #9CA02C
analogous
#2C62A0 #302CA0 #6A2CA0
triadic
#302CA0 #A0302C #2CA030
tetradic
#302CA0 #A02C62 #9CA02C #2CA06A
square
#302CA0 #A02C62 #9CA02C #2CA06A
split-complementary
#302CA0 #A06A2C #62A02C
monochromatic
#131240 #221F70 #302CA0 #443FCA #736FD7
Accessibility & contrast
On white
10.53
#302CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#302CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA0
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA0 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302ca0; /* rgb */ color: rgb(48, 44, 160); /* oklch */ color: oklch(38.4% 0.180 275.4);
Tailwind
colors: {
custom: {
50: '#7966bd',
500: '#302ca0',
950: '#000000',
},
}SCSS
$custom: #302ca0; $custom-light: #7966bd; $custom-dark: #000000;
JSON
{
"hex": "#302ca0",
"rgb": {
"r": 48,
"g": 44,
"b": 160
},
"hsl": {
"h": 242.069,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.38436,
"c": 0.17955,
"h": 275.4
},
"luminance": 0.04968
}Semantic roles & 50–950 ramp
primary
#302CA0
secondary
#BCBF69
accent
#E048DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81