#6151BA#6151BA
#6151BA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.159 H 286.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6151BA |
|---|---|
| RGB | rgb(97, 81, 186) |
| HSL | hsl(249, 43%, 52%) |
| HSV | hsv(249, 56%, 73%) |
| CMYK | cmyk(47.8%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(41.17, 33.81, -53.51) |
| CIE-LCH | lch(41.17, 63.30, 302.28°) |
| OKLab | oklab(50.68% 0.0445 -0.1527) |
| OKLCH | oklch(50.68% 0.159 286.2) |
| XYZ | xyz(16.7325, 11.9707, 47.8738) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.60
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.45
Bluey Purple
#6241C7
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151BA #AABA51
analogous
#5175BA #6151BA #9651BA
triadic
#6151BA #BA6151 #51BA61
tetradic
#6151BA #BA5175 #AABA51 #51BA96
square
#6151BA #BA5175 #AABA51 #51BA96
split-complementary
#6151BA #BA9651 #75BA51
monochromatic
#332968 #483A93 #6151BA #897DCB #B1A9DD
Accessibility & contrast
On white
6.19
#6151BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#6151BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151BA
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151BA | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E64BE
Deuteranopia (green-blind)
#095EB8
Tritanopia (blue-blind)
#43687D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6151ba; /* rgb */ color: rgb(97, 81, 186); /* oklch */ color: oklch(50.7% 0.159 286.2);
Tailwind
colors: {
custom: {
50: '#9482cf',
500: '#6151ba',
950: '#000000',
},
}SCSS
$custom: #6151ba; $custom-light: #9482cf; $custom-dark: #000000;
JSON
{
"hex": "#6151ba",
"rgb": {
"r": 97,
"g": 81,
"b": 186
},
"hsl": {
"h": 249.143,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.50676,
"c": 0.15908,
"h": 286.2
},
"luminance": 0.11971
}Semantic roles & 50–950 ramp
primary
#6151BA
secondary
#C3CA9D
accent
#D355C0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82