#6156BB#6156BB
#6156BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.153 H 284.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6156BB |
|---|---|
| RGB | rgb(97, 86, 187) |
| HSL | hsl(247, 43%, 54%) |
| HSV | hsv(247, 54%, 73%) |
| CMYK | cmyk(48.1%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(42.44, 31.07, -52.06) |
| CIE-LCH | lch(42.44, 60.62, 300.83°) |
| OKLab | oklab(51.64% 0.0387 -0.1484) |
| OKLCH | oklch(51.64% 0.153 284.6) |
| XYZ | xyz(17.2245, 12.7840, 48.5640) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.50
Slate Blue
#6A5ACD
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 3.76
Dark Periwinkle
#665FD1
ΔE00 4.32
Warm Blue
#4B57DB
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156BB #B0BB56
analogous
#567DBB #6156BB #9356BB
triadic
#6156BB #BB6156 #56BB61
tetradic
#6156BB #BB567D #B0BB56 #56BB93
square
#6156BB #BB567D #B0BB56 #56BB93
split-complementary
#6156BB #BB9356 #7DBB56
monochromatic
#322B6B #473D97 #6156BB #8A82CD #B3ADDE
Accessibility & contrast
On white
5.90
#6156BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#6156BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156BB
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156BB | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#426C80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6156bb; /* rgb */ color: rgb(97, 86, 187); /* oklch */ color: oklch(51.6% 0.153 284.6);
Tailwind
colors: {
custom: {
50: '#9486d0',
500: '#6156bb',
950: '#000000',
},
}SCSS
$custom: #6156bb; $custom-light: #9486d0; $custom-dark: #000000;
JSON
{
"hex": "#6156bb",
"rgb": {
"r": 97,
"g": 86,
"b": 187
},
"hsl": {
"h": 246.535,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.51637,
"c": 0.1534,
"h": 284.6
},
"luminance": 0.12785
}Semantic roles & 50–950 ramp
primary
#6156BB
secondary
#C7CCA1
accent
#D255C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82