#302CA3#302CA3
#302CA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.183 H 275.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA3 |
|---|---|
| RGB | rgb(48, 44, 163) |
| HSL | hsl(242, 57%, 41%) |
| HSV | hsv(242, 73%, 64%) |
| CMYK | cmyk(70.6%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(26.94, 40.48, -63.18) |
| CIE-LCH | lch(26.94, 75.03, 302.65°) |
| OKLab | oklab(38.74% 0.0163 -0.1826) |
| OKLCH | oklch(38.74% 0.183 275.1) |
| XYZ | xyz(8.7283, 5.0733, 35.1625) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.99
Indigo Blue
#3A18B1
ΔE00 4.53
Royal
#0C1793
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 6.42
True Blue
#010FCC
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA3 #9FA32C
analogous
#2C63A3 #302CA3 #6B2CA3
triadic
#302CA3 #A3302C #2CA330
tetradic
#302CA3 #A32C63 #9FA32C #2CA36B
square
#302CA3 #A32C63 #9FA32C #2CA36B
split-complementary
#302CA3 #A36B2C #63A32C
monochromatic
#141243 #221F73 #302CA3 #4541CC #7471D9
Accessibility & contrast
On white
10.42
#302CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#302CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA3
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA3 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302ca3; /* rgb */ color: rgb(48, 44, 163); /* oklch */ color: oklch(38.7% 0.183 275.1);
Tailwind
colors: {
custom: {
50: '#7967bf',
500: '#302ca3',
950: '#000000',
},
}SCSS
$custom: #302ca3; $custom-light: #7967bf; $custom-dark: #000000;
JSON
{
"hex": "#302ca3",
"rgb": {
"r": 48,
"g": 44,
"b": 163
},
"hsl": {
"h": 242.017,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.38742,
"c": 0.18335,
"h": 275.1
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#302CA3
secondary
#BDC06B
accent
#E147DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81