#6252F3#6252F3
#6252F3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.4% C 0.230 H 280.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6252F3 |
|---|---|
| RGB | rgb(98, 82, 243) |
| HSL | hsl(246, 87%, 64%) |
| HSV | hsv(246, 66%, 95%) |
| CMYK | cmyk(59.7%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(45.77, 50.76, -78.67) |
| CIE-LCH | lch(45.77, 93.63, 302.83°) |
| OKLab | oklab(55.4% 0.041 -0.2266) |
| OKLCH | oklch(55.4% 0.23 280.2) |
| XYZ | xyz(24.2268, 15.1006, 86.4147) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.48
Bluish Purple
#703BE7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6252F3 #E3F352
analogous
#5292F3 #6252F3 #B252F3
triadic
#6252F3 #F36252 #52F362
tetradic
#6252F3 #F35292 #E3F352 #52F3B2
square
#6252F3 #F35292 #E3F352 #52F3B2
split-complementary
#6252F3 #F3B252 #92F352
monochromatic
#1F0DBD #2E19EF #6252F3 #968BF7 #CAC4FB
Accessibility & contrast
On white
5.22
#6252F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6252F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6252F3
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6252F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6252F3 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 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: #6252f3; /* rgb */ color: rgb(98, 82, 243); /* oklch */ color: oklch(55.4% 0.230 280.2);
Tailwind
colors: {
custom: {
50: '#9d84f8',
500: '#6252f3',
950: '#000000',
},
}SCSS
$custom: #6252f3; $custom-light: #9d84f8; $custom-dark: #000000;
JSON
{
"hex": "#6252f3",
"rgb": {
"r": 98,
"g": 82,
"b": 243
},
"hsl": {
"h": 245.963,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.55403,
"c": 0.2303,
"h": 280.2
},
"luminance": 0.15102
}Semantic roles & 50–950 ramp
primary
#6252F3
secondary
#E7EDB4
accent
#E402CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85