#6151BF#6151BF
#6151BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.166 H 285.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6151BF |
|---|---|
| RGB | rgb(97, 81, 191) |
| HSL | hsl(249, 46%, 53%) |
| HSV | hsv(249, 58%, 75%) |
| CMYK | cmyk(49.2%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(41.51, 35.32, -55.88) |
| CIE-LCH | lch(41.51, 66.11, 302.29°) |
| OKLab | oklab(51.04% 0.0445 -0.1597) |
| OKLCH | oklch(51.04% 0.166 285.6) |
| XYZ | xyz(17.2734, 12.1870, 50.7223) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.26
Slate Blue
#6A5ACD
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 4.50
Dark Periwinkle
#665FD1
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151BF #AFBF51
analogous
#5178BF #6151BF #9851BF
triadic
#6151BF #BF6151 #51BF61
tetradic
#6151BF #BF5178 #AFBF51 #51BF98
square
#6151BF #BF5178 #AFBF51 #51BF98
split-complementary
#6151BF #BF9851 #78BF51
monochromatic
#32286D #47399A #6151BF #8A7ECF #B2AAE0
Accessibility & contrast
On white
6.11
#6151BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#6151BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151BF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151BF | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#406A80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6151bf; /* rgb */ color: rgb(97, 81, 191); /* oklch */ color: oklch(51.0% 0.166 285.6);
Tailwind
colors: {
custom: {
50: '#9582d3',
500: '#6151bf',
950: '#000000',
},
}SCSS
$custom: #6151bf; $custom-light: #9582d3; $custom-dark: #000000;
JSON
{
"hex": "#6151bf",
"rgb": {
"r": 97,
"g": 81,
"b": 191
},
"hsl": {
"h": 248.727,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.51038,
"c": 0.16578,
"h": 285.6
},
"luminance": 0.12188
}Semantic roles & 50–950 ramp
primary
#6151BF
secondary
#C7CE9E
accent
#D652C3
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83