#5741C7#5741C7
#5741C7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.2% C 0.198 H 283.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5741C7 |
|---|---|
| RGB | rgb(87, 65, 199) |
| HSL | hsl(250, 54%, 52%) |
| HSV | hsv(250, 67%, 78%) |
| CMYK | cmyk(56.3%, 67.3%, 0%, 22%) |
| CIE-LAB | lab(37.72, 45.27, -66.75) |
| CIE-LCH | lch(37.72, 80.66, 304.14°) |
| OKLab | oklab(48.25% 0.0466 -0.192) |
| OKLCH | oklch(48.25% 0.198 283.6) |
| XYZ | xyz(16.1264, 9.9294, 55.0885) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.34
Bluey Purple
#6241C7
ΔE00 1.73
Blurple
#5539CC
ΔE00 1.95
Ocean Blue
#4F42B5
ΔE00 2.87
Purpley Blue
#5F34E7
ΔE00 4.68
Burple
#6832E3
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5741C7 #B1C741
analogous
#416EC7 #5741C7 #9A41C7
triadic
#5741C7 #C75741 #41C757
tetradic
#5741C7 #C7416E #B1C741 #41C79A
square
#5741C7 #C7416E #B1C741 #41C79A
split-complementary
#5741C7 #C79A41 #6EC741
monochromatic
#2D206D #402E9D #5741C7 #8170D5 #ABA0E3
Accessibility & contrast
On white
7.03
#5741C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5741C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5741C7
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5741C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5741C7 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#1F637F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5741c7; /* rgb */ color: rgb(87, 65, 199); /* oklch */ color: oklch(48.2% 0.198 283.6);
Tailwind
colors: {
custom: {
50: '#9177d9',
500: '#5741c7',
950: '#000000',
},
}SCSS
$custom: #5741c7; $custom-light: #9177d9; $custom-dark: #000000;
JSON
{
"hex": "#5741c7",
"rgb": {
"r": 87,
"g": 65,
"b": 199
},
"hsl": {
"h": 249.851,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.48247,
"c": 0.19758,
"h": 283.6
},
"luminance": 0.0993
}Semantic roles & 50–950 ramp
primary
#5741C7
secondary
#C6CF95
accent
#DE4AC6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83