#6157BF#6157BF
#6157BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.157 H 283.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6157BF |
|---|---|
| RGB | rgb(97, 87, 191) |
| HSL | hsl(246, 45%, 55%) |
| HSV | hsv(246, 54%, 75%) |
| CMYK | cmyk(49.2%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.94, 31.68, -53.57) |
| CIE-LCH | lch(42.94, 62.24, 300.60°) |
| OKLab | oklab(52.1% 0.0377 -0.1529) |
| OKLCH | oklch(52.1% 0.157 283.8) |
| XYZ | xyz(17.7391, 13.1185, 50.8775) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.82
Slate Blue
#6A5ACD
ΔE00 2.70
Light Indigo
#6D5ACF
ΔE00 3.24
Dark Periwinkle
#665FD1
ΔE00 3.68
Warm Blue
#4B57DB
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157BF #B5BF57
analogous
#5781BF #6157BF #9557BF
triadic
#6157BF #BF6157 #57BF61
tetradic
#6157BF #BF5781 #B5BF57 #57BF95
square
#6157BF #BF5781 #B5BF57 #57BF95
split-complementary
#6157BF #BF9557 #81BF57
monochromatic
#322B71 #453C9D #6157BF #8B83D0 #B4B0E1
Accessibility & contrast
On white
5.80
#6157BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6157BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157BF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157BF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#1462BD
Tritanopia (blue-blind)
#3F6E82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6157bf; /* rgb */ color: rgb(97, 87, 191); /* oklch */ color: oklch(52.1% 0.157 283.8);
Tailwind
colors: {
custom: {
50: '#9486d3',
500: '#6157bf',
950: '#000000',
},
}SCSS
$custom: #6157bf; $custom-light: #9486d3; $custom-dark: #000000;
JSON
{
"hex": "#6157bf",
"rgb": {
"r": 97,
"g": 87,
"b": 191
},
"hsl": {
"h": 245.769,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.52097,
"c": 0.15747,
"h": 283.8
},
"luminance": 0.13119
}Semantic roles & 50–950 ramp
primary
#6157BF
secondary
#CBCFA3
accent
#D553C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83