#302CBD#302CBD
#302CBD is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.215 H 273.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #302CBD |
|---|---|
| RGB | rgb(48, 44, 189) |
| HSL | hsl(242, 62%, 46%) |
| HSV | hsv(242, 77%, 74%) |
| CMYK | cmyk(74.6%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(29.67, 49.02, -74.23) |
| CIE-LCH | lch(29.67, 88.95, 303.44°) |
| OKLab | oklab(41.49% 0.0112 -0.2148) |
| OKLCH | oklch(41.49% 0.215 273) |
| XYZ | xyz(11.3018, 6.1027, 48.7166) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.66
True Blue
#010FCC
ΔE00 4.75
Ultramarine Blue
#1805DB
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.56
Violet Blue
#510AC9
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CBD #B9BD2C
analogous
#2C70BD #302CBD #782CBD
triadic
#302CBD #BD302C #2CBD30
tetradic
#302CBD #BD2C70 #B9BD2C #2CBD78
square
#302CBD #BD2C70 #B9BD2C #2CBD78
split-complementary
#302CBD #BD782C #70BD2C
monochromatic
#17155A #23208B #302CBD #5450D6 #8482E2
Accessibility & contrast
On white
9.46
#302CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#302CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CBD
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CBD | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #302cbd; /* rgb */ color: rgb(48, 44, 189); /* oklch */ color: oklch(41.5% 0.215 273.0);
Tailwind
colors: {
custom: {
50: '#7f68d2',
500: '#302cbd',
950: '#000000',
},
}SCSS
$custom: #302cbd; $custom-light: #7f68d2; $custom-dark: #000000;
JSON
{
"hex": "#302cbd",
"rgb": {
"r": 48,
"g": 44,
"b": 189
},
"hsl": {
"h": 241.655,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.41485,
"c": 0.21508,
"h": 273
},
"luminance": 0.06104
}Semantic roles & 50–950 ramp
primary
#302CBD
secondary
#C9CB7A
accent
#E542E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83