#6157CF#6157CF
#6157CF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.179 H 282.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6157CF |
|---|---|
| RGB | rgb(97, 87, 207) |
| HSL | hsl(245, 56%, 58%) |
| HSV | hsv(245, 58%, 81%) |
| CMYK | cmyk(53.1%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(44.03, 36.62, -61.06) |
| CIE-LCH | lch(44.03, 71.20, 300.95°) |
| OKLab | oklab(53.25% 0.0379 -0.1749) |
| OKLCH | oklch(53.25% 0.179 282.2) |
| XYZ | xyz(19.5970, 13.8616, 60.6623) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.66
Slate Blue
#6A5ACD
ΔE00 1.77
Light Indigo
#6D5ACF
ΔE00 2.24
Dark Periwinkle
#665FD1
ΔE00 2.54
Warm Blue
#4B57DB
ΔE00 3.52
Bluey Purple
#6241C7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157CF #C5CF57
analogous
#5789CF #6157CF #9D57CF
triadic
#6157CF #CF6157 #57CF61
tetradic
#6157CF #CF5789 #C5CF57 #57CF9D
square
#6157CF #CF5789 #C5CF57 #57CF9D
split-complementary
#6157CF #CF9D57 #89CF57
monochromatic
#2E2685 #3F34B5 #6157CF #8E87DD #BBB6EA
Accessibility & contrast
On white
5.57
#6157CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6157CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157CF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157CF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#31738A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6157cf; /* rgb */ color: rgb(97, 87, 207); /* oklch */ color: oklch(53.3% 0.179 282.2);
Tailwind
colors: {
custom: {
50: '#9787de',
500: '#6157cf',
950: '#000000',
},
}SCSS
$custom: #6157cf; $custom-light: #9787de; $custom-dark: #000000;
JSON
{
"hex": "#6157cf",
"rgb": {
"r": 97,
"g": 87,
"b": 207
},
"hsl": {
"h": 245,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.53254,
"c": 0.17897,
"h": 282.2
},
"luminance": 0.13863
}Semantic roles & 50–950 ramp
primary
#6157CF
secondary
#D5D9A9
accent
#DF49D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83