#6156CD#6156CD
#6156CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.178 H 282.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6156CD |
|---|---|
| RGB | rgb(97, 86, 205) |
| HSL | hsl(246, 54%, 57%) |
| HSV | hsv(246, 58%, 80%) |
| CMYK | cmyk(52.7%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(43.66, 36.60, -60.52) |
| CIE-LCH | lch(43.66, 70.73, 301.16°) |
| OKLab | oklab(52.93% 0.0389 -0.1733) |
| OKLCH | oklch(52.93% 0.178 282.7) |
| XYZ | xyz(19.2736, 13.6036, 59.3559) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.47
Slate Blue
#6A5ACD
ΔE00 1.89
Light Indigo
#6D5ACF
ΔE00 2.36
Dark Periwinkle
#665FD1
ΔE00 2.88
Warm Blue
#4B57DB
ΔE00 3.72
Bluey Purple
#6241C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156CD #C2CD56
analogous
#5687CD #6156CD #9C56CD
triadic
#6156CD #CD6156 #56CD61
tetradic
#6156CD #CD5687 #C2CD56 #56CD9C
square
#6156CD #CD5687 #C2CD56 #56CD9C
split-complementary
#6156CD #CD9C56 #87CD56
monochromatic
#2F2682 #4034B1 #6156CD #8D85DB #B9B4E9
Accessibility & contrast
On white
5.64
#6156CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#6156CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156CD
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156CD | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#347289
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6156cd; /* rgb */ color: rgb(97, 86, 205); /* oklch */ color: oklch(52.9% 0.178 282.7);
Tailwind
colors: {
custom: {
50: '#9686dd',
500: '#6156cd',
950: '#000000',
},
}SCSS
$custom: #6156cd; $custom-light: #9686dd; $custom-dark: #000000;
JSON
{
"hex": "#6156cd",
"rgb": {
"r": 97,
"g": 86,
"b": 205
},
"hsl": {
"h": 245.546,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.52933,
"c": 0.17765,
"h": 282.7
},
"luminance": 0.13605
}Semantic roles & 50–950 ramp
primary
#6156CD
secondary
#D3D8A7
accent
#DE4AD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83