#6151B3#6151B3
#6151B3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.150 H 287.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #6151B3 |
|---|---|
| RGB | rgb(97, 81, 179) |
| HSL | hsl(250, 39%, 51%) |
| HSV | hsv(250, 55%, 70%) |
| CMYK | cmyk(45.8%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(40.70, 31.70, -50.16) |
| CIE-LCH | lch(40.70, 59.33, 302.30°) |
| OKLab | oklab(50.18% 0.0443 -0.1429) |
| OKLCH | oklch(50.18% 0.15 287.2) |
| XYZ | xyz(16.0065, 11.6803, 44.0502) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.37
Slate Blue
#6A5ACD
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.25
Bluey Purple
#6241C7
ΔE00 5.38
Royal Purple
#7851A9
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151B3 #A3B351
analogous
#5172B3 #6151B3 #9251B3
triadic
#6151B3 #B36151 #51B361
tetradic
#6151B3 #B35172 #A3B351 #51B392
square
#6151B3 #B35172 #A3B351 #51B392
split-complementary
#6151B3 #B39251 #72B351
monochromatic
#332A60 #493C8A #6151B3 #887CC6 #AEA6D8
Accessibility & contrast
On white
6.29
#6151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#6151B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151B3
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151B3 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#1D5DB1
Tritanopia (blue-blind)
#47667A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6151b3; /* rgb */ color: rgb(97, 81, 179); /* oklch */ color: oklch(50.2% 0.150 287.2);
Tailwind
colors: {
custom: {
50: '#9382ca',
500: '#6151b3',
950: '#000000',
},
}SCSS
$custom: #6151b3; $custom-light: #9382ca; $custom-dark: #000000;
JSON
{
"hex": "#6151b3",
"rgb": {
"r": 97,
"g": 81,
"b": 179
},
"hsl": {
"h": 249.796,
"s": 39.2,
"l": 50.98
},
"oklch": {
"l": 0.50181,
"c": 0.14958,
"h": 287.2
},
"luminance": 0.11681
}Semantic roles & 50–950 ramp
primary
#6151B3
secondary
#BFC69A
accent
#CF59BC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82