#302AAA#302AAA
#302AAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.194 H 274.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #302AAA |
|---|---|
| RGB | rgb(48, 42, 170) |
| HSL | hsl(243, 60%, 42%) |
| HSV | hsv(243, 75%, 67%) |
| CMYK | cmyk(71.8%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(27.26, 43.95, -66.89) |
| CIE-LCH | lch(27.26, 80.03, 303.31°) |
| OKLab | oklab(39.18% 0.016 -0.1934) |
| OKLCH | oklch(39.18% 0.194 274.7) |
| XYZ | xyz(9.3002, 5.1857, 38.5332) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.68
Sapphire (survey)
#2138AB
ΔE00 4.36
True Blue
#010FCC
ΔE00 5.57
Royal
#0C1793
ΔE00 5.78
Cobalt Blue
#030AA7
ΔE00 5.98
Ultramarine
#2000B1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AAA #A4AA2A
analogous
#2A64AA #302AAA #702AAA
triadic
#302AAA #AA302A #2AAA30
tetradic
#302AAA #AA2A64 #A4AA2A #2AAA70
square
#302AAA #AA2A64 #A4AA2A #2AAA70
split-complementary
#302AAA #AA702A #64AA2A
monochromatic
#141248 #221E79 #302AAA #4841D0 #7772DC
Accessibility & contrast
On white
10.31
#302AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#302AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AAA
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AAA | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302aaa; /* rgb */ color: rgb(48, 42, 170); /* oklch */ color: oklch(39.2% 0.194 274.7);
Tailwind
colors: {
custom: {
50: '#7b66c5',
500: '#302aaa',
950: '#000000',
},
}SCSS
$custom: #302aaa; $custom-light: #7b66c5; $custom-dark: #000000;
JSON
{
"hex": "#302aaa",
"rgb": {
"r": 48,
"g": 42,
"b": 170
},
"hsl": {
"h": 242.813,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.39182,
"c": 0.19408,
"h": 274.7
},
"luminance": 0.05187
}Semantic roles & 50–950 ramp
primary
#302AAA
secondary
#BFC36C
accent
#E444DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82