#302AAD#302AAD
#302AAD is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.198 H 274.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #302AAD |
|---|---|
| RGB | rgb(48, 42, 173) |
| HSL | hsl(243, 61%, 42%) |
| HSV | hsv(243, 76%, 68%) |
| CMYK | cmyk(72.3%, 75.7%, 0%, 32.2%) |
| CIE-LAB | lab(27.57, 44.93, -68.17) |
| CIE-LCH | lch(27.57, 81.64, 303.39°) |
| OKLab | oklab(39.5% 0.0154 -0.1971) |
| OKLCH | oklch(39.5% 0.198 274.5) |
| XYZ | xyz(9.5872, 5.3005, 40.0449) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.57
Sapphire (survey)
#2138AB
ΔE00 4.38
True Blue
#010FCC
ΔE00 5.30
Ultramarine
#2000B1
ΔE00 6.00
Royal
#0C1793
ΔE00 6.03
Cobalt Blue
#030AA7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AAD #A7AD2A
analogous
#2A66AD #302AAD #722AAD
triadic
#302AAD #AD302A #2AAD30
tetradic
#302AAD #AD2A66 #A7AD2A #2AAD72
square
#302AAD #AD2A66 #A7AD2A #2AAD72
split-complementary
#302AAD #AD722A #66AD2A
monochromatic
#15124B #221E7C #302AAD #4943D1 #7974DD
Accessibility & contrast
On white
10.19
#302AAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#302AAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AAD
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AAD | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302aad; /* rgb */ color: rgb(48, 42, 173); /* oklch */ color: oklch(39.5% 0.198 274.5);
Tailwind
colors: {
custom: {
50: '#7c66c7',
500: '#302aad',
950: '#000000',
},
}SCSS
$custom: #302aad; $custom-light: #7c66c7; $custom-dark: #000000;
JSON
{
"hex": "#302aad",
"rgb": {
"r": 48,
"g": 42,
"b": 173
},
"hsl": {
"h": 242.748,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.395,
"c": 0.19775,
"h": 274.5
},
"luminance": 0.05301
}Semantic roles & 50–950 ramp
primary
#302AAD
secondary
#C1C56E
accent
#E444DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82