#6157BC#6157BC
#6157BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.153 H 284.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6157BC |
|---|---|
| RGB | rgb(97, 87, 188) |
| HSL | hsl(246, 43%, 54%) |
| HSV | hsv(246, 54%, 74%) |
| CMYK | cmyk(48.4%, 53.7%, 0%, 26.3%) |
| CIE-LAB | lab(42.74, 30.76, -52.14) |
| CIE-LCH | lch(42.74, 60.54, 300.54°) |
| OKLab | oklab(51.89% 0.0376 -0.1487) |
| OKLCH | oklch(51.89% 0.153 284.2) |
| XYZ | xyz(17.4124, 12.9878, 49.1566) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.26
Slate Blue
#6A5ACD
ΔE00 3.06
Light Indigo
#6D5ACF
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 5.47
Bluey Purple
#6241C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157BC #B2BC57
analogous
#5780BC #6157BC #9457BC
triadic
#6157BC #BC6157 #57BC61
tetradic
#6157BC #BC5780 #B2BC57 #57BC94
square
#6157BC #BC5780 #B2BC57 #57BC94
split-complementary
#6157BC #BC9457 #80BC57
monochromatic
#322C6D #463D99 #6157BC #8A83CD #B3AFDF
Accessibility & contrast
On white
5.84
#6157BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#6157BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157BC
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157BC | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#416D81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6157bc; /* rgb */ color: rgb(97, 87, 188); /* oklch */ color: oklch(51.9% 0.153 284.2);
Tailwind
colors: {
custom: {
50: '#9486d1',
500: '#6157bc',
950: '#000000',
},
}SCSS
$custom: #6157bc; $custom-light: #9486d1; $custom-dark: #000000;
JSON
{
"hex": "#6157bc",
"rgb": {
"r": 97,
"g": 87,
"b": 188
},
"hsl": {
"h": 245.941,
"s": 42.979,
"l": 53.922
},
"oklch": {
"l": 0.51888,
"c": 0.15336,
"h": 284.2
},
"luminance": 0.12989
}Semantic roles & 50–950 ramp
primary
#6157BC
secondary
#C9CDA2
accent
#D355C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82