#302AA5#302AA5
#302AA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.188 H 275.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #302AA5 |
|---|---|
| RGB | rgb(48, 42, 165) |
| HSL | hsl(243, 59%, 41%) |
| HSV | hsv(243, 75%, 65%) |
| CMYK | cmyk(70.9%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(26.74, 42.30, -64.73) |
| CIE-LCH | lch(26.74, 77.33, 303.17°) |
| OKLab | oklab(38.66% 0.017 -0.1871) |
| OKLCH | oklch(38.66% 0.188 275.2) |
| XYZ | xyz(8.8362, 5.0001, 36.0895) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.40
Royal
#0C1793
ΔE00 5.41
Cobalt Blue
#030AA7
ΔE00 5.95
True Blue
#010FCC
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AA5 #9FA52A
analogous
#2A61A5 #302AA5 #6D2AA5
triadic
#302AA5 #A5302A #2AA530
tetradic
#302AA5 #A52A61 #9FA52A #2AA56D
square
#302AA5 #A52A61 #9FA52A #2AA56D
split-complementary
#302AA5 #A56D2A #61A52A
monochromatic
#141143 #221E74 #302AA5 #453ECE #746FDA
Accessibility & contrast
On white
10.50
#302AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#302AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AA5
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AA5 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302aa5; /* rgb */ color: rgb(48, 42, 165); /* oklch */ color: oklch(38.7% 0.188 275.2);
Tailwind
colors: {
custom: {
50: '#7a65c1',
500: '#302aa5',
950: '#000000',
},
}SCSS
$custom: #302aa5; $custom-light: #7a65c1; $custom-dark: #000000;
JSON
{
"hex": "#302aa5",
"rgb": {
"r": 48,
"g": 42,
"b": 165
},
"hsl": {
"h": 242.927,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38656,
"c": 0.18791,
"h": 275.2
},
"luminance": 0.05001
}Semantic roles & 50–950 ramp
primary
#302AA5
secondary
#BDC169
accent
#E345DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81