#5760F2#5760F2
#5760F2 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.215 H 274.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5760F2 |
|---|---|
| RGB | rgb(87, 96, 242) |
| HSL | hsl(237, 86%, 65%) |
| HSV | hsv(237, 64%, 95%) |
| CMYK | cmyk(64%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(48.01, 40.73, -74.49) |
| CIE-LCH | lch(48.01, 84.89, 298.67°) |
| OKLab | oklab(56.82% 0.017 -0.2146) |
| OKLCH | oklch(56.82% 0.215 274.5) |
| XYZ | xyz(24.1351, 16.8007, 85.9582) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 5.37
Azul
#1D5DEC
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 5.79
Electric Blue
#0652FF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5760F2 #F2E957
analogous
#57AEF2 #5760F2 #9C57F2
triadic
#5760F2 #F25760 #60F257
tetradic
#5760F2 #F257AE #F2E957 #57F29C
square
#5760F2 #F257AE #F2E957 #57F29C
split-complementary
#5760F2 #F29C57 #AEF257
monochromatic
#0F19C0 #1E2AEE #5760F2 #9096F6 #C9CCFB
Accessibility & contrast
On white
4.82
#5760F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5760F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5760F2
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5760F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5760F2 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5760f2; /* rgb */ color: rgb(87, 96, 242); /* oklch */ color: oklch(56.8% 0.215 274.5);
Tailwind
colors: {
custom: {
50: '#968df7',
500: '#5760f2',
950: '#000000',
},
}SCSS
$custom: #5760f2; $custom-light: #968df7; $custom-dark: #000000;
JSON
{
"hex": "#5760f2",
"rgb": {
"r": 87,
"g": 96,
"b": 242
},
"hsl": {
"h": 236.516,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.56816,
"c": 0.21527,
"h": 274.5
},
"luminance": 0.16803
}Semantic roles & 50–950 ramp
primary
#5760F2
secondary
#EDEAB8
accent
#D503E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85