#6156BF#6156BF
#6156BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.159 H 284.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6156BF |
|---|---|
| RGB | rgb(97, 86, 191) |
| HSL | hsl(246, 45%, 54%) |
| HSV | hsv(246, 55%, 75%) |
| CMYK | cmyk(49.2%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(42.70, 32.29, -53.96) |
| CIE-LCH | lch(42.70, 62.89, 300.89°) |
| OKLab | oklab(51.92% 0.0388 -0.154) |
| OKLCH | oklch(51.92% 0.159 284.1) |
| XYZ | xyz(17.6587, 12.9577, 50.8507) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.97
Slate Blue
#6A5ACD
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 3.30
Dark Periwinkle
#665FD1
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 5.13
Bluey Purple
#6241C7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156BF #B4BF56
analogous
#5680BF #6156BF #9656BF
triadic
#6156BF #BF6156 #56BF61
tetradic
#6156BF #BF5680 #B4BF56 #56BF96
square
#6156BF #BF5680 #B4BF56 #56BF96
split-complementary
#6156BF #BF9656 #80BF56
monochromatic
#322A70 #453B9D #6156BF #8B82D0 #B4AFE1
Accessibility & contrast
On white
5.85
#6156BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6156BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156BF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156BF | 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)
#1868C3
Deuteranopia (green-blind)
#1061BD
Tritanopia (blue-blind)
#3F6D82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6156bf; /* rgb */ color: rgb(97, 86, 191); /* oklch */ color: oklch(51.9% 0.159 284.1);
Tailwind
colors: {
custom: {
50: '#9486d3',
500: '#6156bf',
950: '#000000',
},
}SCSS
$custom: #6156bf; $custom-light: #9486d3; $custom-dark: #000000;
JSON
{
"hex": "#6156bf",
"rgb": {
"r": 97,
"g": 86,
"b": 191
},
"hsl": {
"h": 246.286,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.51917,
"c": 0.15887,
"h": 284.1
},
"luminance": 0.12959
}Semantic roles & 50–950 ramp
primary
#6156BF
secondary
#CACFA2
accent
#D553C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83