#6052E4#6052E4
#6052E4 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.212 H 280.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #6052E4 |
|---|---|
| RGB | rgb(96, 82, 228) |
| HSL | hsl(246, 73%, 61%) |
| HSV | hsv(246, 64%, 89%) |
| CMYK | cmyk(57.9%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(44.41, 45.88, -72.45) |
| CIE-LCH | lch(44.41, 85.75, 302.34°) |
| OKLab | oklab(54% 0.0402 -0.2084) |
| OKLCH | oklch(54% 0.212 280.9) |
| XYZ | xyz(21.8404, 14.1213, 74.9586) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 3.97
Purpleish Blue
#6140EF
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.45
Iris
#6258C4
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6052E4 #D6E452
analogous
#528DE4 #6052E4 #A952E4
triadic
#6052E4 #E46052 #52E460
tetradic
#6052E4 #E4528D #D6E452 #52E4A9
square
#6052E4 #E4528D #D6E452 #52E4A9
split-complementary
#6052E4 #E4A952 #8DE452
monochromatic
#2619A2 #3322D7 #6052E4 #9187EC #C1BCF5
Accessibility & contrast
On white
5.49
#6052E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#6052E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6052E4
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6052E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6052E4 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#067794
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6052e4; /* rgb */ color: rgb(96, 82, 228); /* oklch */ color: oklch(54.0% 0.212 280.9);
Tailwind
colors: {
custom: {
50: '#9a84ee',
500: '#6052e4',
950: '#000000',
},
}SCSS
$custom: #6052e4; $custom-light: #9a84ee; $custom-dark: #000000;
JSON
{
"hex": "#6052e4",
"rgb": {
"r": 96,
"g": 82,
"b": 228
},
"hsl": {
"h": 245.753,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.54001,
"c": 0.21227,
"h": 280.9
},
"luminance": 0.14123
}Semantic roles & 50–950 ramp
primary
#6052E4
secondary
#DFE5AD
accent
#D510C2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84