#6152E9#6152E9
#6152E9 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.218 H 280.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6152E9 |
|---|---|
| RGB | rgb(97, 82, 233) |
| HSL | hsl(246, 77%, 62%) |
| HSV | hsv(246, 65%, 91%) |
| CMYK | cmyk(58.4%, 64.8%, 0%, 8.6%) |
| CIE-LAB | lab(44.88, 47.57, -74.50) |
| CIE-LCH | lch(44.88, 88.39, 302.56°) |
| OKLab | oklab(54.49% 0.0409 -0.2144) |
| OKLCH | oklch(54.49% 0.218 280.8) |
| XYZ | xyz(22.6504, 14.4576, 78.6720) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.15
Purpleish Blue
#6140EF
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 4.74
Iris
#6258C4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152E9 #DAE952
analogous
#528FE9 #6152E9 #AC52E9
triadic
#6152E9 #E96152 #52E961
tetradic
#6152E9 #E9528F #DAE952 #52E9AC
square
#6152E9 #E9528F #DAE952 #52E9AC
split-complementary
#6152E9 #E9AC52 #8FE952
monochromatic
#2516AB #301DE1 #6152E9 #9388F0 #C4BFF7
Accessibility & contrast
On white
5.40
#6152E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6152E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152E9
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152E9 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6152e9; /* rgb */ color: rgb(97, 82, 233); /* oklch */ color: oklch(54.5% 0.218 280.8);
Tailwind
colors: {
custom: {
50: '#9b84f1',
500: '#6152e9',
950: '#000000',
},
}SCSS
$custom: #6152e9; $custom-light: #9b84f1; $custom-dark: #000000;
JSON
{
"hex": "#6152e9",
"rgb": {
"r": 97,
"g": 82,
"b": 233
},
"hsl": {
"h": 245.96,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.54489,
"c": 0.21828,
"h": 280.8
},
"luminance": 0.14459
}Semantic roles & 50–950 ramp
primary
#6152E9
secondary
#E2E7AF
accent
#DA0CC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85