#6151E5#6151E5
#6151E5 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.215 H 281.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6151E5 |
|---|---|
| RGB | rgb(97, 81, 229) |
| HSL | hsl(246, 74%, 61%) |
| HSV | hsv(246, 65%, 90%) |
| CMYK | cmyk(57.6%, 64.6%, 0%, 10.2%) |
| CIE-LAB | lab(44.35, 46.91, -73.10) |
| CIE-LCH | lch(44.35, 86.86, 302.69°) |
| OKLab | oklab(54% 0.0422 -0.2103) |
| OKLCH | oklch(54% 0.215 281.3) |
| XYZ | xyz(22.0106, 14.0819, 75.6718) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.98
Warm Blue
#4B57DB
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.71
Iris
#6258C4
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151E5 #D5E551
analogous
#518BE5 #6151E5 #AB51E5
triadic
#6151E5 #E56151 #51E561
tetradic
#6151E5 #E5518B #D5E551 #51E5AB
square
#6151E5 #E5518B #D5E551 #51E5AB
split-complementary
#6151E5 #E5AB51 #8BE551
monochromatic
#2718A3 #3420D8 #6151E5 #9186ED #C2BBF5
Accessibility & contrast
On white
5.50
#6151E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#6151E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151E5
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151E5 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#0C7794
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6151e5; /* rgb */ color: rgb(97, 81, 229); /* oklch */ color: oklch(54.0% 0.215 281.3);
Tailwind
colors: {
custom: {
50: '#9a83ee',
500: '#6151e5',
950: '#000000',
},
}SCSS
$custom: #6151e5; $custom-light: #9a83ee; $custom-dark: #000000;
JSON
{
"hex": "#6151e5",
"rgb": {
"r": 97,
"g": 81,
"b": 229
},
"hsl": {
"h": 246.486,
"s": 74,
"l": 60.784
},
"oklch": {
"l": 0.54004,
"c": 0.21452,
"h": 281.3
},
"luminance": 0.14083
}Semantic roles & 50–950 ramp
primary
#6151E5
secondary
#DFE5AD
accent
#D60FC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85