#6157CA#6157CA
#6157CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.172 H 282.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6157CA |
|---|---|
| RGB | rgb(97, 87, 202) |
| HSL | hsl(245, 52%, 57%) |
| HSV | hsv(245, 57%, 79%) |
| CMYK | cmyk(52%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.68, 35.07, -58.75) |
| CIE-LCH | lch(43.68, 68.42, 300.83°) |
| OKLab | oklab(52.89% 0.0379 -0.1681) |
| OKLCH | oklch(52.89% 0.172 282.7) |
| XYZ | xyz(18.9954, 13.6210, 57.4939) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.96
Slate Blue
#6A5ACD
ΔE00 1.81
Light Indigo
#6D5ACF
ΔE00 2.36
Dark Periwinkle
#665FD1
ΔE00 2.74
Warm Blue
#4B57DB
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157CA #C0CA57
analogous
#5787CA #6157CA #9A57CA
triadic
#6157CA #CA6157 #57CA61
tetradic
#6157CA #CA5787 #C0CA57 #57CA9A
square
#6157CA #CA5787 #C0CA57 #57CA9A
split-complementary
#6157CA #CA9A57 #87CA57
monochromatic
#2F287F #4137AD #6157CA #8D86D9 #B9B4E7
Accessibility & contrast
On white
5.64
#6157CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#6157CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157CA
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157CA | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#367188
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6157ca; /* rgb */ color: rgb(97, 87, 202); /* oklch */ color: oklch(52.9% 0.172 282.7);
Tailwind
colors: {
custom: {
50: '#9687db',
500: '#6157ca',
950: '#000000',
},
}SCSS
$custom: #6157ca; $custom-light: #9687db; $custom-dark: #000000;
JSON
{
"hex": "#6157ca",
"rgb": {
"r": 97,
"g": 87,
"b": 202
},
"hsl": {
"h": 245.217,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.52885,
"c": 0.17233,
"h": 282.7
},
"luminance": 0.13622
}Semantic roles & 50–950 ramp
primary
#6157CA
secondary
#D2D6A7
accent
#DB4CCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83