#5579F2#5579F2
#5579F2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.186 H 268.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5579F2 |
|---|---|
| RGB | rgb(85, 121, 242) |
| HSL | hsl(226, 86%, 64%) |
| HSV | hsv(226, 65%, 95%) |
| CMYK | cmyk(64.9%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(54.04, 25.17, -64.71) |
| CIE-LCH | lch(54.04, 69.43, 291.25°) |
| OKLab | oklab(61.3% -0.0062 -0.1856) |
| OKLCH | oklch(61.3% 0.186 268.1) |
| XYZ | xyz(26.6052, 22.0144, 86.8343) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.60
Cornflower
#6A79F7
ΔE00 3.41
Clear Blue
#247AFD
ΔE00 4.30
Dodger Blue
#3E82FC
ΔE00 4.56
Cornflower Blue
#5170D7
ΔE00 4.64
Soft Blue
#6488EA
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5579F2 #F2CE55
analogous
#55C8F2 #5579F2 #8055F2
triadic
#5579F2 #F25579 #79F255
tetradic
#5579F2 #F255C8 #F2CE55 #55F280
square
#5579F2 #F255C8 #F2CE55 #55F280
split-complementary
#5579F2 #F28055 #C8F255
monochromatic
#0F37BE #1C4CEE #5579F2 #8EA6F6 #C7D3FB
Accessibility & contrast
On white
3.89
#5579F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5579F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5579F2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5579F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5579F2 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5579f2; /* rgb */ color: rgb(85, 121, 242); /* oklch */ color: oklch(61.3% 0.186 268.1);
Tailwind
colors: {
custom: {
50: '#949ff7',
500: '#5579f2',
950: '#000000',
},
}SCSS
$custom: #5579f2; $custom-light: #949ff7; $custom-dark: #000000;
JSON
{
"hex": "#5579f2",
"rgb": {
"r": 85,
"g": 121,
"b": 242
},
"hsl": {
"h": 226.242,
"s": 85.792,
"l": 64.118
},
"oklch": {
"l": 0.61302,
"c": 0.1857,
"h": 268.1
},
"luminance": 0.22017
}Semantic roles & 50–950 ramp
primary
#5579F2
secondary
#EDE0B6
accent
#AF03E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85