#302FAE#302FAE
#302FAE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.194 H 273.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #302FAE |
|---|---|
| RGB | rgb(48, 47, 174) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 73%, 68%) |
| CMYK | cmyk(72.4%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(28.69, 42.43, -66.93) |
| CIE-LCH | lch(28.69, 79.25, 302.37°) |
| OKLab | oklab(40.32% 0.0127 -0.1936) |
| OKLCH | oklch(40.32% 0.194 273.7) |
| XYZ | xyz(9.8729, 5.7164, 40.6193) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 6.00
True Blue
#010FCC
ΔE00 6.12
Blue Blue
#2242C7
ΔE00 6.22
Blue With A Hint Of Purple
#533CC6
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FAE #ADAE2F
analogous
#2F6EAE #302FAE #6F2FAE
triadic
#302FAE #AE302F #2FAE30
tetradic
#302FAE #AE2F6E #ADAE2F #2FAE6F
square
#302FAE #AE2F6E #ADAE2F #2FAE6F
split-complementary
#302FAE #AE6F2F #6EAE2F
monochromatic
#15154E #23227E #302FAE #4D4CCF #7D7CDC
Accessibility & contrast
On white
9.80
#302FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#302FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FAE
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FAE | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #302fae; /* rgb */ color: rgb(48, 47, 174); /* oklch */ color: oklch(40.3% 0.194 273.7);
Tailwind
colors: {
custom: {
50: '#7c69c7',
500: '#302fae',
950: '#000000',
},
}SCSS
$custom: #302fae; $custom-light: #7c69c7; $custom-dark: #000000;
JSON
{
"hex": "#302fae",
"rgb": {
"r": 48,
"g": 47,
"b": 174
},
"hsl": {
"h": 240.472,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.4032,
"c": 0.194,
"h": 273.7
},
"luminance": 0.05717
}Semantic roles & 50–950 ramp
primary
#302FAE
secondary
#C3C475
accent
#E147E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82