#6056CB#6056CB
#6056CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.175 H 282.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #6056CB |
|---|---|
| RGB | rgb(96, 86, 203) |
| HSL | hsl(245, 53%, 57%) |
| HSV | hsv(245, 58%, 80%) |
| CMYK | cmyk(52.7%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(43.44, 35.78, -59.73) |
| CIE-LCH | lch(43.44, 69.63, 300.93°) |
| OKLab | oklab(52.71% 0.0377 -0.171) |
| OKLCH | oklch(52.71% 0.175 282.4) |
| XYZ | xyz(18.9279, 13.4531, 58.0877) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.25
Slate Blue
#6A5ACD
ΔE00 2.05
Light Indigo
#6D5ACF
ΔE00 2.56
Dark Periwinkle
#665FD1
ΔE00 2.99
Warm Blue
#4B57DB
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6056CB #C1CB56
analogous
#5687CB #6056CB #9B56CB
triadic
#6056CB #CB6056 #56CB60
tetradic
#6056CB #CB5687 #C1CB56 #56CB9B
square
#6056CB #CB5687 #C1CB56 #56CB9B
split-complementary
#6056CB #CB9B56 #87CB56
monochromatic
#2F277F #4036AE #6056CB #8C85D9 #B8B4E8
Accessibility & contrast
On white
5.69
#6056CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#6056CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6056CB
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6056CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6056CB | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#337188
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6056cb; /* rgb */ color: rgb(96, 86, 203); /* oklch */ color: oklch(52.7% 0.175 282.4);
Tailwind
colors: {
custom: {
50: '#9586dc',
500: '#6056cb',
950: '#000000',
},
}SCSS
$custom: #6056cb; $custom-light: #9586dc; $custom-dark: #000000;
JSON
{
"hex": "#6056cb",
"rgb": {
"r": 96,
"g": 86,
"b": 203
},
"hsl": {
"h": 245.128,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.52705,
"c": 0.17513,
"h": 282.4
},
"luminance": 0.13454
}Semantic roles & 50–950 ramp
primary
#6056CB
secondary
#D2D6A6
accent
#DC4BD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83