#6052E6#6052E6
#6052E6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.215 H 280.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6052E6 |
|---|---|
| RGB | rgb(96, 82, 230) |
| HSL | hsl(246, 75%, 61%) |
| HSV | hsv(246, 64%, 90%) |
| CMYK | cmyk(58.3%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(44.57, 46.49, -73.32) |
| CIE-LCH | lch(44.57, 86.82, 302.38°) |
| OKLab | oklab(54.17% 0.04 -0.211) |
| OKLCH | oklch(54.17% 0.215 280.7) |
| XYZ | xyz(22.1196, 14.2330, 76.4292) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.14
Purpleish Blue
#6140EF
ΔE00 4.23
Dark Periwinkle
#665FD1
ΔE00 4.56
Iris
#6258C4
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6052E6 #D8E652
analogous
#528EE6 #6052E6 #AA52E6
triadic
#6052E6 #E66052 #52E660
tetradic
#6052E6 #E6528E #D8E652 #52E6AA
square
#6052E6 #E6528E #D8E652 #52E6AA
split-complementary
#6052E6 #E6AA52 #8EE652
monochromatic
#2518A6 #3120DB #6052E6 #9187EE #C2BDF5
Accessibility & contrast
On white
5.46
#6052E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#6052E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6052E6
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6052E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6052E6 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6052e6; /* rgb */ color: rgb(96, 82, 230); /* oklch */ color: oklch(54.2% 0.215 280.7);
Tailwind
colors: {
custom: {
50: '#9a84ef',
500: '#6052e6',
950: '#000000',
},
}SCSS
$custom: #6052e6; $custom-light: #9a84ef; $custom-dark: #000000;
JSON
{
"hex": "#6052e6",
"rgb": {
"r": 96,
"g": 82,
"b": 230
},
"hsl": {
"h": 245.676,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.54166,
"c": 0.21475,
"h": 280.7
},
"luminance": 0.14235
}Semantic roles & 50–950 ramp
primary
#6052E6
secondary
#E0E6AE
accent
#D70FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85