#6151F3#6151F3
#6151F3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.232 H 280.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6151F3 |
|---|---|
| RGB | rgb(97, 81, 243) |
| HSL | hsl(246, 87%, 64%) |
| HSV | hsv(246, 67%, 95%) |
| CMYK | cmyk(60.1%, 66.7%, 0%, 4.7%) |
| CIE-LAB | lab(45.49, 51.18, -79.13) |
| CIE-LCH | lch(45.49, 94.24, 302.89°) |
| OKLab | oklab(55.18% 0.0405 -0.228) |
| OKLCH | oklch(55.18% 0.232 280.1) |
| XYZ | xyz(24.0447, 14.8955, 86.3847) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 5.63
Bluish Purple
#703BE7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6151F3 #E3F351
analogous
#5192F3 #6151F3 #B251F3
triadic
#6151F3 #F36151 #51F361
tetradic
#6151F3 #F35192 #E3F351 #51F3B2
square
#6151F3 #F35192 #E3F351 #51F3B2
split-complementary
#6151F3 #F3B251 #92F351
monochromatic
#1E0DBD #2D18EF #6151F3 #958AF7 #C9C4FB
Accessibility & contrast
On white
5.28
#6151F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#6151F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6151F3
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6151F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6151F3 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0065F0
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6151f3; /* rgb */ color: rgb(97, 81, 243); /* oklch */ color: oklch(55.2% 0.232 280.1);
Tailwind
colors: {
custom: {
50: '#9d83f8',
500: '#6151f3',
950: '#000000',
},
}SCSS
$custom: #6151f3; $custom-light: #9d83f8; $custom-dark: #000000;
JSON
{
"hex": "#6151f3",
"rgb": {
"r": 97,
"g": 81,
"b": 243
},
"hsl": {
"h": 245.926,
"s": 87.097,
"l": 63.529
},
"oklch": {
"l": 0.55181,
"c": 0.23158,
"h": 280.1
},
"luminance": 0.14897
}Semantic roles & 50–950 ramp
primary
#6151F3
secondary
#E7EDB3
accent
#E402CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85