#6052F3#6052F3
#6052F3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.231 H 279.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #6052F3 |
|---|---|
| RGB | rgb(96, 82, 243) |
| HSL | hsl(245, 87%, 64%) |
| HSV | hsv(245, 66%, 95%) |
| CMYK | cmyk(60.5%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(45.62, 50.48, -78.92) |
| CIE-LCH | lch(45.62, 93.68, 302.60°) |
| OKLab | oklab(55.26% 0.0385 -0.2274) |
| OKLCH | oklch(55.26% 0.231 279.6) |
| XYZ | xyz(24.0137, 14.9907, 86.4047) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 5.25
Slate Blue
#6A5ACD
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 5.48
Electric Blue
#0652FF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6052F3 #E5F352
analogous
#5294F3 #6052F3 #B052F3
triadic
#6052F3 #F36052 #52F360
tetradic
#6052F3 #F35294 #E5F352 #52F3B0
square
#6052F3 #F35294 #E5F352 #52F3B0
split-complementary
#6052F3 #F3B052 #94F352
monochromatic
#1C0DBD #2B19EF #6052F3 #958BF7 #C9C4FB
Accessibility & contrast
On white
5.25
#6052F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#6052F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6052F3
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6052F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6052F3 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 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: #6052f3; /* rgb */ color: rgb(96, 82, 243); /* oklch */ color: oklch(55.3% 0.231 279.6);
Tailwind
colors: {
custom: {
50: '#9c84f8',
500: '#6052f3',
950: '#000000',
},
}SCSS
$custom: #6052f3; $custom-light: #9c84f8; $custom-dark: #000000;
JSON
{
"hex": "#6052f3",
"rgb": {
"r": 96,
"g": 82,
"b": 243
},
"hsl": {
"h": 245.217,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.55256,
"c": 0.23065,
"h": 279.6
},
"luminance": 0.14992
}Semantic roles & 50–950 ramp
primary
#6052F3
secondary
#E8EDB4
accent
#E402D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85