#6157DC#6157DC
#6157DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.196 H 281.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6157DC |
|---|---|
| RGB | rgb(97, 87, 220) |
| HSL | hsl(245, 66%, 60%) |
| HSV | hsv(245, 60%, 86%) |
| CMYK | cmyk(55.9%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.97, 40.65, -66.97) |
| CIE-LCH | lch(44.97, 78.35, 301.26°) |
| OKLab | oklab(54.24% 0.0375 -0.1923) |
| OKLCH | oklch(54.24% 0.196 281) |
| XYZ | xyz(21.2522, 14.5237, 69.3797) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.66
Light Indigo
#6D5ACF
ΔE00 2.79
Dark Periwinkle
#665FD1
ΔE00 2.84
Warm Blue
#4B57DB
ΔE00 3.21
Iris
#6258C4
ΔE00 3.42
Purpleish Blue
#6140EF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157DC #D2DC57
analogous
#5790DC #6157DC #A357DC
triadic
#6157DC #DC6157 #57DC61
tetradic
#6157DC #DC5790 #D2DC57 #57DCA3
square
#6157DC #DC5790 #D2DC57 #57DCA3
split-complementary
#6157DC #DCA357 #90DC57
monochromatic
#292099 #362ACB #6157DC #918AE7 #C0BCF1
Accessibility & contrast
On white
5.38
#6157DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#6157DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157DC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157DC | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#207791
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6157dc; /* rgb */ color: rgb(97, 87, 220); /* oklch */ color: oklch(54.2% 0.196 281.0);
Tailwind
colors: {
custom: {
50: '#9887e8',
500: '#6157dc',
950: '#000000',
},
}SCSS
$custom: #6157dc; $custom-light: #9887e8; $custom-dark: #000000;
JSON
{
"hex": "#6157dc",
"rgb": {
"r": 97,
"g": 87,
"b": 220
},
"hsl": {
"h": 244.511,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.54244,
"c": 0.19592,
"h": 281
},
"luminance": 0.14525
}Semantic roles & 50–950 ramp
primary
#6157DC
secondary
#DDE1AE
accent
#CD18C0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84