#302AA6#302AA6
#302AA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.189 H 275.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #302AA6 |
|---|---|
| RGB | rgb(48, 42, 166) |
| HSL | hsl(243, 60%, 41%) |
| HSV | hsv(243, 75%, 65%) |
| CMYK | cmyk(71.1%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(26.84, 42.63, -65.16) |
| CIE-LCH | lch(26.84, 77.87, 303.20°) |
| OKLab | oklab(38.76% 0.0168 -0.1884) |
| OKLCH | oklch(38.76% 0.189 275.1) |
| XYZ | xyz(8.9276, 5.0366, 36.5707) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.38
Royal
#0C1793
ΔE00 5.47
Cobalt Blue
#030AA7
ΔE00 5.95
True Blue
#010FCC
ΔE00 5.96
Ultramarine
#2000B1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AA6 #A0A62A
analogous
#2A62A6 #302AA6 #6E2AA6
triadic
#302AA6 #A6302A #2AA630
tetradic
#302AA6 #A62A62 #A0A62A #2AA66E
square
#302AA6 #A62A62 #A0A62A #2AA66E
split-complementary
#302AA6 #A66E2A #62A62A
monochromatic
#141144 #221E75 #302AA6 #463FCE #7570DB
Accessibility & contrast
On white
10.46
#302AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#302AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AA6
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AA6 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302aa6; /* rgb */ color: rgb(48, 42, 166); /* oklch */ color: oklch(38.8% 0.189 275.1);
Tailwind
colors: {
custom: {
50: '#7a65c2',
500: '#302aa6',
950: '#000000',
},
}SCSS
$custom: #302aa6; $custom-light: #7a65c2; $custom-dark: #000000;
JSON
{
"hex": "#302aa6",
"rgb": {
"r": 48,
"g": 42,
"b": 166
},
"hsl": {
"h": 242.903,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.3876,
"c": 0.18916,
"h": 275.1
},
"luminance": 0.05037
}Semantic roles & 50–950 ramp
primary
#302AA6
secondary
#BEC26A
accent
#E345DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81