#6151F2#6151F2
#6151F2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.1% C 0.230 H 280.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #6151F2 |
|---|---|
| RGB | rgb(97, 81, 242) |
| HSL | hsl(246, 86%, 63%) |
| HSV | hsv(246, 67%, 95%) |
| CMYK | cmyk(59.9%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(45.41, 50.88, -78.71) |
| CIE-LCH | lch(45.41, 93.72, 302.88°) |
| OKLab | oklab(55.1% 0.0406 -0.2268) |
| OKLCH | oklch(55.1% 0.23 280.2) |
| XYZ | xyz(23.8941, 14.8353, 85.5916) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.55
Bluish Purple
#703BE7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151F2 #E2F251
analogous
#5191F2 #6151F2 #B151F2
triadic
#6151F2 #F26151 #51F261
tetradic
#6151F2 #F25191 #E2F251 #51F2B1
square
#6151F2 #F25191 #E2F251 #51F2B1
split-complementary
#6151F2 #F2B151 #91F251
monochromatic
#1F0EBB #2D18EE #6151F2 #958AF6 #C8C3FB
Accessibility & contrast
On white
5.29
#6151F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#6151F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151F2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151F2 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0065EF
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6151f2; /* rgb */ color: rgb(97, 81, 242); /* oklch */ color: oklch(55.1% 0.230 280.2);
Tailwind
colors: {
custom: {
50: '#9c83f8',
500: '#6151f2',
950: '#000000',
},
}SCSS
$custom: #6151f2; $custom-light: #9c83f8; $custom-dark: #000000;
JSON
{
"hex": "#6151f2",
"rgb": {
"r": 97,
"g": 81,
"b": 242
},
"hsl": {
"h": 245.963,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.55096,
"c": 0.23038,
"h": 280.2
},
"luminance": 0.14837
}Semantic roles & 50–950 ramp
primary
#6151F2
secondary
#E6ECB3
accent
#E303CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85