#5759F2#5759F2
#5759F2 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.223 H 275.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5759F2 |
|---|---|
| RGB | rgb(87, 89, 242) |
| HSL | hsl(239, 86%, 65%) |
| HSV | hsv(239, 64%, 95%) |
| CMYK | cmyk(64%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(46.42, 44.88, -77.08) |
| CIE-LCH | lch(46.42, 89.20, 300.21°) |
| OKLab | oklab(55.65% 0.0225 -0.2222) |
| OKLCH | oklch(55.65% 0.223 275.8) |
| XYZ | xyz(23.5246, 15.5798, 85.7547) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.72
Dark Periwinkle
#665FD1
ΔE00 4.76
Electric Blue
#0652FF
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.47
Light Indigo
#6D5ACF
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5759F2 #F2F057
analogous
#57A6F2 #5759F2 #A357F2
triadic
#5759F2 #F25759 #59F257
tetradic
#5759F2 #F257A6 #F2F057 #57F2A3
square
#5759F2 #F257A6 #F2F057 #57F2A3
split-complementary
#5759F2 #F2A357 #A6F257
monochromatic
#0F11C0 #1E21EE #5759F2 #9091F6 #C9C9FB
Accessibility & contrast
On white
5.10
#5759F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5759F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5759F2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5759F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5759F2 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#00809D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5759f2; /* rgb */ color: rgb(87, 89, 242); /* oklch */ color: oklch(55.6% 0.223 275.8);
Tailwind
colors: {
custom: {
50: '#9788f7',
500: '#5759f2',
950: '#000000',
},
}SCSS
$custom: #5759f2; $custom-light: #9788f7; $custom-dark: #000000;
JSON
{
"hex": "#5759f2",
"rgb": {
"r": 87,
"g": 89,
"b": 242
},
"hsl": {
"h": 239.226,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.5565,
"c": 0.22338,
"h": 275.8
},
"luminance": 0.15582
}Semantic roles & 50–950 ramp
primary
#5759F2
secondary
#EDECB8
accent
#DF03E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85