#6056E2#6056E2
#6056E2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.205 H 280.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6056E2 |
|---|---|
| RGB | rgb(96, 86, 226) |
| HSL | hsl(244, 71%, 61%) |
| HSV | hsv(244, 62%, 89%) |
| CMYK | cmyk(57.5%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(45.13, 42.94, -70.14) |
| CIE-LCH | lch(45.13, 82.24, 301.47°) |
| OKLab | oklab(54.48% 0.0368 -0.2016) |
| OKLCH | oklch(54.48% 0.205 280.3) |
| XYZ | xyz(21.8748, 14.6319, 73.6083) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.31
Slate Blue
#6A5ACD
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 3.44
Dark Periwinkle
#665FD1
ΔE00 3.48
Iris
#6258C4
ΔE00 4.21
Purpleish Blue
#6140EF
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6056E2 #D8E256
analogous
#5692E2 #6056E2 #A656E2
triadic
#6056E2 #E26056 #56E260
tetradic
#6056E2 #E25692 #D8E256 #56E2A6
square
#6056E2 #E25692 #D8E256 #56E2A6
split-complementary
#6056E2 #E2A656 #92E256
monochromatic
#251CA2 #3125D6 #6056E2 #918AEB #C2BEF4
Accessibility & contrast
On white
5.35
#6056E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#6056E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6056E2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6056E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6056E2 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#0C7994
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6056e2; /* rgb */ color: rgb(96, 86, 226); /* oklch */ color: oklch(54.5% 0.205 280.3);
Tailwind
colors: {
custom: {
50: '#9986ec',
500: '#6056e2',
950: '#000000',
},
}SCSS
$custom: #6056e2; $custom-light: #9986ec; $custom-dark: #000000;
JSON
{
"hex": "#6056e2",
"rgb": {
"r": 96,
"g": 86,
"b": 226
},
"hsl": {
"h": 244.286,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.54477,
"c": 0.20498,
"h": 280.3
},
"luminance": 0.14633
}Semantic roles & 50–950 ramp
primary
#6056E2
secondary
#E0E4B0
accent
#D313C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84