#302CAC#302CAC
#302CAC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.195 H 274.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #302CAC |
|---|---|
| RGB | rgb(48, 44, 172) |
| HSL | hsl(242, 59%, 42%) |
| HSV | hsv(242, 74%, 67%) |
| CMYK | cmyk(72.1%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(27.87, 43.48, -67.08) |
| CIE-LCH | lch(27.87, 79.94, 302.95°) |
| OKLab | oklab(39.67% 0.0146 -0.194) |
| OKLCH | oklch(39.67% 0.195 274.3) |
| XYZ | xyz(9.5635, 5.4074, 39.5614) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.05
True Blue
#010FCC
ΔE00 5.72
Royal
#0C1793
ΔE00 6.26
Cobalt Blue
#030AA7
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CAC #A8AC2C
analogous
#2C68AC #302CAC #702CAC
triadic
#302CAC #AC302C #2CAC30
tetradic
#302CAC #AC2C68 #A8AC2C #2CAC70
square
#302CAC #AC2C68 #A8AC2C #2CAC70
split-complementary
#302CAC #AC702C #68AC2C
monochromatic
#15134B #22207B #302CAC #4A46D0 #7A76DC
Accessibility & contrast
On white
10.09
#302CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#302CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CAC
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CAC | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302cac; /* rgb */ color: rgb(48, 44, 172); /* oklch */ color: oklch(39.7% 0.195 274.3);
Tailwind
colors: {
custom: {
50: '#7c67c6',
500: '#302cac',
950: '#000000',
},
}SCSS
$custom: #302cac; $custom-light: #7c67c6; $custom-dark: #000000;
JSON
{
"hex": "#302cac",
"rgb": {
"r": 48,
"g": 44,
"b": 172
},
"hsl": {
"h": 241.875,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.39675,
"c": 0.19457,
"h": 274.3
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#302CAC
secondary
#C1C470
accent
#E245DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82