#302FE2#302FE2
#302FE2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.9% C 0.255 H 270.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #302FE2 |
|---|---|
| RGB | rgb(48, 47, 226) |
| HSL | hsl(240, 76%, 54%) |
| HSV | hsv(240, 79%, 89%) |
| CMYK | cmyk(78.8%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(34.29, 59.05, -88.07) |
| CIE-LCH | lch(34.29, 106.03, 303.84°) |
| OKLab | oklab(45.92% 0.0028 -0.255) |
| OKLCH | oklch(45.92% 0.255 270.6) |
| XYZ | xyz(15.9583, 8.1506, 72.6689) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.14
Rich Blue
#021BF9
ΔE00 3.24
Vibrant Blue
#0339F8
ΔE00 3.58
Light Royal Blue
#3A2EFE
ΔE00 3.68
Blurple
#5539CC
ΔE00 4.30
Strong Blue
#0C06F7
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FE2 #E1E22F
analogous
#2F87E2 #302FE2 #892FE2
triadic
#302FE2 #E2302F #2FE230
tetradic
#302FE2 #E22F87 #E1E22F #2FE289
square
#302FE2 #E22F87 #E1E22F #2FE289
split-complementary
#302FE2 #E2892F #87E22F
monochromatic
#131284 #1B1ABA #302FE2 #6565E9 #9B9AF1
Accessibility & contrast
On white
7.98
#302FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#302FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FE2
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FE2 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #302fe2; /* rgb */ color: rgb(48, 47, 226); /* oklch */ color: oklch(45.9% 0.255 270.6);
Tailwind
colors: {
custom: {
50: '#886ced',
500: '#302fe2',
950: '#000000',
},
}SCSS
$custom: #302fe2; $custom-light: #886ced; $custom-dark: #000000;
JSON
{
"hex": "#302fe2",
"rgb": {
"r": 48,
"g": 47,
"b": 226
},
"hsl": {
"h": 240.335,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.45919,
"c": 0.25498,
"h": 270.6
},
"luminance": 0.08152
}Semantic roles & 50–950 ramp
primary
#302FE2
secondary
#DCDD90
accent
#F236F1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85