#6157CE#6157CE
#6157CE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.178 H 282.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6157CE |
|---|---|
| RGB | rgb(97, 87, 206) |
| HSL | hsl(245, 55%, 57%) |
| HSV | hsv(245, 58%, 81%) |
| CMYK | cmyk(52.9%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(43.96, 36.31, -60.60) |
| CIE-LCH | lch(43.96, 70.65, 300.93°) |
| OKLab | oklab(53.18% 0.0379 -0.1736) |
| OKLCH | oklch(53.18% 0.178 282.3) |
| XYZ | xyz(19.4751, 13.8129, 60.0205) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.52
Slate Blue
#6A5ACD
ΔE00 1.76
Light Indigo
#6D5ACF
ΔE00 2.25
Dark Periwinkle
#665FD1
ΔE00 2.57
Warm Blue
#4B57DB
ΔE00 3.59
Bluey Purple
#6241C7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157CE #C4CE57
analogous
#5789CE #6157CE #9D57CE
triadic
#6157CE #CE6157 #57CE61
tetradic
#6157CE #CE5789 #C4CE57 #57CE9D
square
#6157CE #CE5789 #C4CE57 #57CE9D
split-complementary
#6157CE #CE9D57 #89CE57
monochromatic
#2E2784 #3F34B3 #6157CE #8E86DC #BAB6EA
Accessibility & contrast
On white
5.58
#6157CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#6157CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157CE
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157CE | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#32738A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6157ce; /* rgb */ color: rgb(97, 87, 206); /* oklch */ color: oklch(53.2% 0.178 282.3);
Tailwind
colors: {
custom: {
50: '#9687de',
500: '#6157ce',
950: '#000000',
},
}SCSS
$custom: #6157ce; $custom-light: #9687de; $custom-dark: #000000;
JSON
{
"hex": "#6157ce",
"rgb": {
"r": 97,
"g": 87,
"b": 206
},
"hsl": {
"h": 245.042,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.5318,
"c": 0.17765,
"h": 282.3
},
"luminance": 0.13814
}Semantic roles & 50–950 ramp
primary
#6157CE
secondary
#D4D8A8
accent
#DE4AD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83