#6151CE#6151CE
#6151CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.185 H 283.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6151CE |
|---|---|
| RGB | rgb(97, 81, 206) |
| HSL | hsl(248, 56%, 56%) |
| HSV | hsv(248, 61%, 81%) |
| CMYK | cmyk(52.9%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(42.58, 39.88, -62.84) |
| CIE-LCH | lch(42.58, 74.43, 302.40°) |
| OKLab | oklab(52.16% 0.044 -0.1802) |
| OKLCH | oklch(52.16% 0.185 283.7) |
| XYZ | xyz(19.0094, 12.8814, 59.8653) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 3.21
Warm Blue
#4B57DB
ΔE00 4.26
Dark Periwinkle
#665FD1
ΔE00 4.27
Bluey Purple
#6241C7
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151CE #BECE51
analogous
#5180CE #6151CE #A051CE
triadic
#6151CE #CE6151 #51CE61
tetradic
#6151CE #CE5180 #BECE51 #51CEA0
square
#6151CE #CE5180 #BECE51 #51CEA0
split-complementary
#6151CE #CEA051 #80CE51
monochromatic
#302480 #4232B0 #6151CE #8C81DB #B8B1E9
Accessibility & contrast
On white
5.87
#6151CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6151CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151CE
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151CE | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#336F88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6151ce; /* rgb */ color: rgb(97, 81, 206); /* oklch */ color: oklch(52.2% 0.185 283.7);
Tailwind
colors: {
custom: {
50: '#9782de',
500: '#6151ce',
950: '#000000',
},
}SCSS
$custom: #6151ce; $custom-light: #9782de; $custom-dark: #000000;
JSON
{
"hex": "#6151ce",
"rgb": {
"r": 97,
"g": 81,
"b": 206
},
"hsl": {
"h": 247.68,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.52165,
"c": 0.18547,
"h": 283.7
},
"luminance": 0.12882
}Semantic roles & 50–950 ramp
primary
#6151CE
secondary
#D1D7A4
accent
#DF48CC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83