#6056E6#6056E6
#6056E6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.210 H 280.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #6056E6 |
|---|---|
| RGB | rgb(96, 86, 230) |
| HSL | hsl(244, 74%, 62%) |
| HSV | hsv(244, 63%, 90%) |
| CMYK | cmyk(58.3%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(45.43, 44.18, -71.90) |
| CIE-LCH | lch(45.43, 84.39, 301.57°) |
| OKLab | oklab(54.8% 0.0365 -0.2068) |
| OKLCH | oklch(54.8% 0.21 280) |
| XYZ | xyz(22.4301, 14.8540, 76.5327) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.53
Dark Periwinkle
#665FD1
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 3.80
Iris
#6258C4
ΔE00 4.72
Purpleish Blue
#6140EF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6056E6 #DCE656
analogous
#5694E6 #6056E6 #A856E6
triadic
#6056E6 #E66056 #56E660
tetradic
#6056E6 #E65694 #DCE656 #56E6A8
square
#6056E6 #E65694 #DCE656 #56E6A8
split-complementary
#6056E6 #E6A856 #94E656
monochromatic
#2319A9 #2E21DE #6056E6 #928BEE #C4C1F6
Accessibility & contrast
On white
5.29
#6056E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#6056E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6056E6
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6056E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6056E6 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6056e6; /* rgb */ color: rgb(96, 86, 230); /* oklch */ color: oklch(54.8% 0.210 280.0);
Tailwind
colors: {
custom: {
50: '#9a86ef',
500: '#6056e6',
950: '#000000',
},
}SCSS
$custom: #6056e6; $custom-light: #9a86ef; $custom-dark: #000000;
JSON
{
"hex": "#6056e6",
"rgb": {
"r": 96,
"g": 86,
"b": 230
},
"hsl": {
"h": 244.167,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.54797,
"c": 0.21003,
"h": 280
},
"luminance": 0.14856
}Semantic roles & 50–950 ramp
primary
#6056E6
secondary
#E3E6B1
accent
#D60FC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85