#302FAC#302FAC
#302FAC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.192 H 273.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #302FAC |
|---|---|
| RGB | rgb(48, 47, 172) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 73%, 67%) |
| CMYK | cmyk(72.1%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(28.48, 41.76, -66.07) |
| CIE-LCH | lch(28.48, 78.16, 302.29°) |
| OKLab | oklab(40.11% 0.013 -0.1911) |
| OKLCH | oklch(40.11% 0.192 273.9) |
| XYZ | xyz(9.6794, 5.6390, 39.6001) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Indigo Blue
#3A18B1
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 6.08
True Blue
#010FCC
ΔE00 6.27
Blue Blue
#2242C7
ΔE00 6.36
Blue With A Hint Of Purple
#533CC6
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FAC #ABAC2F
analogous
#2F6CAC #302FAC #6E2FAC
triadic
#302FAC #AC302F #2FAC30
tetradic
#302FAC #AC2F6C #ABAC2F #2FAC6E
square
#302FAC #AC2F6C #ABAC2F #2FAC6E
split-complementary
#302FAC #AC6E2F #6CAC2F
monochromatic
#15154C #23227C #302FAC #4C4BCE #7B7BDB
Accessibility & contrast
On white
9.87
#302FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#302FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FAC
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FAC | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #302fac; /* rgb */ color: rgb(48, 47, 172); /* oklch */ color: oklch(40.1% 0.192 273.9);
Tailwind
colors: {
custom: {
50: '#7b69c6',
500: '#302fac',
950: '#000000',
},
}SCSS
$custom: #302fac; $custom-light: #7b69c6; $custom-dark: #000000;
JSON
{
"hex": "#302fac",
"rgb": {
"r": 48,
"g": 47,
"b": 172
},
"hsl": {
"h": 240.48,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.40114,
"c": 0.19151,
"h": 273.9
},
"luminance": 0.0564
}Semantic roles & 50–950 ramp
primary
#302FAC
secondary
#C3C374
accent
#E047DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82