#6156BC#6156BC
#6156BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.155 H 284.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6156BC |
|---|---|
| RGB | rgb(97, 86, 188) |
| HSL | hsl(246, 43%, 54%) |
| HSV | hsv(246, 54%, 74%) |
| CMYK | cmyk(48.4%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(42.50, 31.37, -52.54) |
| CIE-LCH | lch(42.50, 61.19, 300.85°) |
| OKLab | oklab(51.71% 0.0387 -0.1498) |
| OKLCH | oklch(51.71% 0.155 284.5) |
| XYZ | xyz(17.3320, 12.8270, 49.1298) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.36
Slate Blue
#6A5ACD
ΔE00 3.13
Light Indigo
#6D5ACF
ΔE00 3.64
Dark Periwinkle
#665FD1
ΔE00 4.21
Warm Blue
#4B57DB
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156BC #B1BC56
analogous
#567EBC #6156BC #9456BC
triadic
#6156BC #BC6156 #56BC61
tetradic
#6156BC #BC567E #B1BC56 #56BC94
square
#6156BC #BC567E #B1BC56 #56BC94
split-complementary
#6156BC #BC9456 #7EBC56
monochromatic
#322B6D #463C98 #6156BC #8A82CD #B3AEDF
Accessibility & contrast
On white
5.89
#6156BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6156BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156BC
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156BC | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#1861BA
Tritanopia (blue-blind)
#416D81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6156bc; /* rgb */ color: rgb(97, 86, 188); /* oklch */ color: oklch(51.7% 0.155 284.5);
Tailwind
colors: {
custom: {
50: '#9486d1',
500: '#6156bc',
950: '#000000',
},
}SCSS
$custom: #6156bc; $custom-light: #9486d1; $custom-dark: #000000;
JSON
{
"hex": "#6156bc",
"rgb": {
"r": 97,
"g": 86,
"b": 188
},
"hsl": {
"h": 246.471,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.51707,
"c": 0.15477,
"h": 284.5
},
"luminance": 0.12828
}Semantic roles & 50–950 ramp
primary
#6156BC
secondary
#C8CDA1
accent
#D355C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82