#6156CB#6156CB
#6156CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.175 H 282.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6156CB |
|---|---|
| RGB | rgb(97, 86, 203) |
| HSL | hsl(246, 53%, 57%) |
| HSV | hsv(246, 58%, 80%) |
| CMYK | cmyk(52.2%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(43.52, 35.98, -59.59) |
| CIE-LCH | lch(43.52, 69.61, 301.12°) |
| OKLab | oklab(52.79% 0.0389 -0.1706) |
| OKLCH | oklch(52.79% 0.175 282.9) |
| XYZ | xyz(19.0338, 13.5077, 58.0926) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.22
Slate Blue
#6A5ACD
ΔE00 1.91
Light Indigo
#6D5ACF
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 3.88
Bluey Purple
#6241C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156CB #C0CB56
analogous
#5686CB #6156CB #9C56CB
triadic
#6156CB #CB6156 #56CB61
tetradic
#6156CB #CB5686 #C0CB56 #56CB9C
square
#6156CB #CB5686 #C0CB56 #56CB9C
split-complementary
#6156CB #CB9C56 #86CB56
monochromatic
#2F277F #4136AE #6156CB #8D85D9 #B9B4E8
Accessibility & contrast
On white
5.67
#6156CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#6156CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156CB
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156CB | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#357188
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6156cb; /* rgb */ color: rgb(97, 86, 203); /* oklch */ color: oklch(52.8% 0.175 282.9);
Tailwind
colors: {
custom: {
50: '#9686dc',
500: '#6156cb',
950: '#000000',
},
}SCSS
$custom: #6156cb; $custom-light: #9686dc; $custom-dark: #000000;
JSON
{
"hex": "#6156cb",
"rgb": {
"r": 97,
"g": 86,
"b": 203
},
"hsl": {
"h": 245.641,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.52785,
"c": 0.175,
"h": 282.9
},
"luminance": 0.13509
}Semantic roles & 50–950 ramp
primary
#6156CB
secondary
#D2D6A6
accent
#DC4BCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83