#302FB5#302FB5
#302FB5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.203 H 273.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #302FB5 |
|---|---|
| RGB | rgb(48, 47, 181) |
| HSL | hsl(240, 59%, 45%) |
| HSV | hsv(240, 74%, 71%) |
| CMYK | cmyk(73.5%, 74%, 0%, 29%) |
| CIE-LAB | lab(29.40, 44.76, -69.92) |
| CIE-LCH | lch(29.40, 83.03, 302.63°) |
| OKLab | oklab(41.05% 0.0115 -0.2023) |
| OKLCH | oklch(41.05% 0.203 273.2) |
| XYZ | xyz(10.5731, 5.9965, 44.3073) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 4.66
True Blue
#010FCC
ΔE00 5.67
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FB5 #B4B52F
analogous
#2F71B5 #302FB5 #732FB5
triadic
#302FB5 #B5302F #2FB530
tetradic
#302FB5 #B52F71 #B4B52F #2FB573
square
#302FB5 #B52F71 #B4B52F #2FB573
split-complementary
#302FB5 #B5732F #71B52F
monochromatic
#161654 #232284 #302FB5 #5150D1 #8180DE
Accessibility & contrast
On white
9.55
#302FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#302FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FB5
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FB5 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #302fb5; /* rgb */ color: rgb(48, 47, 181); /* oklch */ color: oklch(41.0% 0.203 273.2);
Tailwind
colors: {
custom: {
50: '#7d69cc',
500: '#302fb5',
950: '#000000',
},
}SCSS
$custom: #302fb5; $custom-light: #7d69cc; $custom-dark: #000000;
JSON
{
"hex": "#302fb5",
"rgb": {
"r": 48,
"g": 47,
"b": 181
},
"hsl": {
"h": 240.448,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.41045,
"c": 0.20263,
"h": 273.2
},
"luminance": 0.05998
}Semantic roles & 50–950 ramp
primary
#302FB5
secondary
#C6C779
accent
#E246E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82