#302BAA#302BAA
#302BAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.193 H 274.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #302BAA |
|---|---|
| RGB | rgb(48, 43, 170) |
| HSL | hsl(242, 60%, 42%) |
| HSV | hsv(242, 75%, 67%) |
| CMYK | cmyk(71.8%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(27.46, 43.39, -66.56) |
| CIE-LCH | lch(27.46, 79.45, 303.10°) |
| OKLab | oklab(39.32% 0.0155 -0.1925) |
| OKLCH | oklch(39.32% 0.193 274.6) |
| XYZ | xyz(9.3361, 5.2575, 38.5452) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.73
Royal
#0C1793
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BAA #A5AA2B
analogous
#2B66AA #302BAA #702BAA
triadic
#302BAA #AA302B #2BAA30
tetradic
#302BAA #AA2B66 #A5AA2B #2BAA70
square
#302BAA #AA2B66 #A5AA2B #2BAA70
split-complementary
#302BAA #AA702B #66AA2B
monochromatic
#141248 #221F79 #302BAA #4843CF #7874DC
Accessibility & contrast
On white
10.24
#302BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#302BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BAA
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BAA | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302baa; /* rgb */ color: rgb(48, 43, 170); /* oklch */ color: oklch(39.3% 0.193 274.6);
Tailwind
colors: {
custom: {
50: '#7b66c5',
500: '#302baa',
950: '#000000',
},
}SCSS
$custom: #302baa; $custom-light: #7b66c5; $custom-dark: #000000;
JSON
{
"hex": "#302baa",
"rgb": {
"r": 48,
"g": 43,
"b": 170
},
"hsl": {
"h": 242.362,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39322,
"c": 0.1931,
"h": 274.6
},
"luminance": 0.05258
}Semantic roles & 50–950 ramp
primary
#302BAA
secondary
#C0C36E
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82