#6157BB#6157BB
#6157BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.152 H 284.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6157BB |
|---|---|
| RGB | rgb(97, 87, 187) |
| HSL | hsl(246, 42%, 54%) |
| HSV | hsv(246, 53%, 73%) |
| CMYK | cmyk(48.1%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(42.68, 30.46, -51.66) |
| CIE-LCH | lch(42.68, 59.97, 300.52°) |
| OKLab | oklab(51.82% 0.0375 -0.1473) |
| OKLCH | oklch(51.82% 0.152 284.3) |
| XYZ | xyz(17.3049, 12.9448, 48.5908) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.42
Slate Blue
#6A5ACD
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 3.70
Dark Periwinkle
#665FD1
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 5.60
Bluey Purple
#6241C7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157BB #B1BB57
analogous
#577FBB #6157BB #9357BB
triadic
#6157BB #BB6157 #57BB61
tetradic
#6157BB #BB577F #B1BB57 #57BB93
square
#6157BB #BB577F #B1BB57 #57BB93
split-complementary
#6157BB #BB9357 #7FBB57
monochromatic
#322C6C #463D97 #6157BB #8A83CD #B3AEDE
Accessibility & contrast
On white
5.85
#6157BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6157BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157BB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157BB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2368BE
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#426D80
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6157bb; /* rgb */ color: rgb(97, 87, 187); /* oklch */ color: oklch(51.8% 0.152 284.3);
Tailwind
colors: {
custom: {
50: '#9486d0',
500: '#6157bb',
950: '#000000',
},
}SCSS
$custom: #6157bb; $custom-light: #9486d0; $custom-dark: #000000;
JSON
{
"hex": "#6157bb",
"rgb": {
"r": 97,
"g": 87,
"b": 187
},
"hsl": {
"h": 246,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.51819,
"c": 0.15198,
"h": 284.3
},
"luminance": 0.12946
}Semantic roles & 50–950 ramp
primary
#6157BB
secondary
#C8CCA2
accent
#D256C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82