#302CAA#302CAA
#302CAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.192 H 274.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #302CAA |
|---|---|
| RGB | rgb(48, 44, 170) |
| HSL | hsl(242, 59%, 42%) |
| HSV | hsv(242, 74%, 67%) |
| CMYK | cmyk(71.8%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(27.66, 42.82, -66.22) |
| CIE-LCH | lch(27.66, 78.86, 302.89°) |
| OKLab | oklab(39.47% 0.015 -0.1915) |
| OKLCH | oklch(39.47% 0.192 274.5) |
| XYZ | xyz(9.3729, 5.3311, 38.5575) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.91
Indigo Blue
#3A18B1
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.90
Royal
#0C1793
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CAA #A6AA2C
analogous
#2C67AA #302CAA #6F2CAA
triadic
#302CAA #AA302C #2CAA30
tetradic
#302CAA #AA2C67 #A6AA2C #2CAA6F
square
#302CAA #AA2C67 #A6AA2C #2CAA6F
split-complementary
#302CAA #AA6F2C #67AA2C
monochromatic
#151349 #221F79 #302CAA #4944CF #7875DB
Accessibility & contrast
On white
10.16
#302CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#302CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CAA
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CAA | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 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: #302caa; /* rgb */ color: rgb(48, 44, 170); /* oklch */ color: oklch(39.5% 0.192 274.5);
Tailwind
colors: {
custom: {
50: '#7b67c5',
500: '#302caa',
950: '#000000',
},
}SCSS
$custom: #302caa; $custom-light: #7b67c5; $custom-dark: #000000;
JSON
{
"hex": "#302caa",
"rgb": {
"r": 48,
"g": 44,
"b": 170
},
"hsl": {
"h": 241.905,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.39466,
"c": 0.1921,
"h": 274.5
},
"luminance": 0.05332
}Semantic roles & 50–950 ramp
primary
#302CAA
secondary
#C0C36F
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82