#6056CD#6056CD
#6056CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.178 H 282.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6056CD |
|---|---|
| RGB | rgb(96, 86, 205) |
| HSL | hsl(245, 54%, 57%) |
| HSV | hsv(245, 58%, 80%) |
| CMYK | cmyk(53.2%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(43.58, 36.40, -60.65) |
| CIE-LCH | lch(43.58, 70.74, 300.97°) |
| OKLab | oklab(52.85% 0.0377 -0.1737) |
| OKLCH | oklch(52.85% 0.178 282.2) |
| XYZ | xyz(19.1677, 13.5490, 59.3510) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.49
Slate Blue
#6A5ACD
ΔE00 2.03
Light Indigo
#6D5ACF
ΔE00 2.51
Dark Periwinkle
#665FD1
ΔE00 2.91
Warm Blue
#4B57DB
ΔE00 3.57
Bluey Purple
#6241C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6056CD #C3CD56
analogous
#5688CD #6056CD #9C56CD
triadic
#6056CD #CD6056 #56CD60
tetradic
#6056CD #CD5688 #C3CD56 #56CD9C
square
#6056CD #CD5688 #C3CD56 #56CD9C
split-complementary
#6056CD #CD9C56 #88CD56
monochromatic
#2E2682 #3F34B1 #6056CD #8C85DB #B9B4E9
Accessibility & contrast
On white
5.66
#6056CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6056CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6056CD
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6056CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6056CD | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#317289
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6056cd; /* rgb */ color: rgb(96, 86, 205); /* oklch */ color: oklch(52.9% 0.178 282.2);
Tailwind
colors: {
custom: {
50: '#9686dd',
500: '#6056cd',
950: '#000000',
},
}SCSS
$custom: #6056cd; $custom-light: #9686dd; $custom-dark: #000000;
JSON
{
"hex": "#6056cd",
"rgb": {
"r": 96,
"g": 86,
"b": 205
},
"hsl": {
"h": 245.042,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.52854,
"c": 0.17779,
"h": 282.2
},
"luminance": 0.1355
}Semantic roles & 50–950 ramp
primary
#6056CD
secondary
#D4D8A7
accent
#DE4AD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83