#302BAE#302BAE
#302BAE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.198 H 274.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #302BAE |
|---|---|
| RGB | rgb(48, 43, 174) |
| HSL | hsl(242, 60%, 43%) |
| HSV | hsv(242, 75%, 68%) |
| CMYK | cmyk(72.4%, 75.3%, 0%, 31.8%) |
| CIE-LAB | lab(27.88, 44.70, -68.27) |
| CIE-LCH | lch(27.88, 81.60, 303.22°) |
| OKLab | oklab(39.74% 0.0147 -0.1975) |
| OKLCH | oklch(39.74% 0.198 274.3) |
| XYZ | xyz(9.7202, 5.4112, 40.5684) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.18
True Blue
#010FCC
ΔE00 5.39
Ultramarine
#2000B1
ΔE00 6.22
Royal
#0C1793
ΔE00 6.27
Mediumblue
#0000CD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BAE #A9AE2B
analogous
#2B68AE #302BAE #712BAE
triadic
#302BAE #AE302B #2BAE30
tetradic
#302BAE #AE2B68 #A9AE2B #2BAE71
square
#302BAE #AE2B68 #A9AE2B #2BAE71
split-complementary
#302BAE #AE712B #68AE2B
monochromatic
#15134C #221F7D #302BAE #4A45D1 #7A76DD
Accessibility & contrast
On white
10.08
#302BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#302BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BAE
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BAE | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302bae; /* rgb */ color: rgb(48, 43, 174); /* oklch */ color: oklch(39.7% 0.198 274.3);
Tailwind
colors: {
custom: {
50: '#7c66c7',
500: '#302bae',
950: '#000000',
},
}SCSS
$custom: #302bae; $custom-light: #7c66c7; $custom-dark: #000000;
JSON
{
"hex": "#302bae",
"rgb": {
"r": 48,
"g": 43,
"b": 174
},
"hsl": {
"h": 242.29,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.39744,
"c": 0.19801,
"h": 274.3
},
"luminance": 0.05412
}Semantic roles & 50–950 ramp
primary
#302BAE
secondary
#C2C570
accent
#E444DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82