#6152F3#6152F3
#6152F3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.230 H 279.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6152F3 |
|---|---|
| RGB | rgb(97, 82, 243) |
| HSL | hsl(246, 87%, 64%) |
| HSV | hsv(246, 66%, 95%) |
| CMYK | cmyk(60.1%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(45.70, 50.62, -78.79) |
| CIE-LCH | lch(45.70, 93.65, 302.72°) |
| OKLab | oklab(55.33% 0.0397 -0.227) |
| OKLCH | oklch(55.33% 0.23 279.9) |
| XYZ | xyz(24.1196, 15.0453, 86.4097) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 5.47
Bluish Purple
#703BE7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152F3 #E4F352
analogous
#5293F3 #6152F3 #B152F3
triadic
#6152F3 #F36152 #52F361
tetradic
#6152F3 #F35293 #E4F352 #52F3B1
square
#6152F3 #F35293 #E4F352 #52F3B1
split-complementary
#6152F3 #F3B152 #93F352
monochromatic
#1E0DBD #2D19EF #6152F3 #958BF7 #CAC4FB
Accessibility & contrast
On white
5.24
#6152F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#6152F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152F3
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152F3 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6152f3; /* rgb */ color: rgb(97, 82, 243); /* oklch */ color: oklch(55.3% 0.230 279.9);
Tailwind
colors: {
custom: {
50: '#9c84f8',
500: '#6152f3',
950: '#000000',
},
}SCSS
$custom: #6152f3; $custom-light: #9c84f8; $custom-dark: #000000;
JSON
{
"hex": "#6152f3",
"rgb": {
"r": 97,
"g": 82,
"b": 243
},
"hsl": {
"h": 245.59,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.55329,
"c": 0.23048,
"h": 279.9
},
"luminance": 0.15047
}Semantic roles & 50–950 ramp
primary
#6152F3
secondary
#E7EDB4
accent
#E402CF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85