#6151BB#6151BB
#6151BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.160 H 286.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6151BB |
|---|---|
| RGB | rgb(97, 81, 187) |
| HSL | hsl(249, 44%, 53%) |
| HSV | hsv(249, 57%, 73%) |
| CMYK | cmyk(48.1%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.24, 34.11, -53.99) |
| CIE-LCH | lch(41.24, 63.86, 302.28°) |
| OKLab | oklab(50.75% 0.0445 -0.1541) |
| OKLCH | oklch(50.75% 0.16 286.1) |
| XYZ | xyz(16.8392, 12.0133, 48.4356) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151BB #ABBB51
analogous
#5176BB #6151BB #9651BB
triadic
#6151BB #BB6151 #51BB61
tetradic
#6151BB #BB5176 #ABBB51 #51BB96
square
#6151BB #BB5176 #ABBB51 #51BB96
split-complementary
#6151BB #BB9651 #76BB51
monochromatic
#332969 #483A95 #6151BB #897DCC #B1A9DD
Accessibility & contrast
On white
6.17
#6151BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6151BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151BB
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151BB | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BF
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#42697E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6151bb; /* rgb */ color: rgb(97, 81, 187); /* oklch */ color: oklch(50.7% 0.160 286.1);
Tailwind
colors: {
custom: {
50: '#9482d0',
500: '#6151bb',
950: '#000000',
},
}SCSS
$custom: #6151bb; $custom-light: #9482d0; $custom-dark: #000000;
JSON
{
"hex": "#6151bb",
"rgb": {
"r": 97,
"g": 81,
"b": 187
},
"hsl": {
"h": 249.057,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.50747,
"c": 0.16042,
"h": 286.1
},
"luminance": 0.12014
}Semantic roles & 50–950 ramp
primary
#6151BB
secondary
#C4CB9D
accent
#D454C0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82