#5774F2#5774F2
#5774F2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.191 H 270.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5774F2 |
|---|---|
| RGB | rgb(87, 116, 242) |
| HSL | hsl(229, 86%, 65%) |
| HSV | hsv(229, 64%, 95%) |
| CMYK | cmyk(64%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(52.87, 28.55, -66.60) |
| CIE-LCH | lch(52.87, 72.46, 293.20°) |
| OKLab | oklab(60.44% 0.0001 -0.1912) |
| OKLCH | oklch(60.44% 0.191 270) |
| XYZ | xyz(26.1975, 20.9255, 86.6456) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.11
Lightish Blue
#3D7AFD
ΔE00 3.91
Cornflower Blue
#5170D7
ΔE00 3.95
Royal Blue
#4169E1
ΔE00 5.12
Clear Blue
#247AFD
ΔE00 5.50
Deep Sky Blue
#0D75F8
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5774F2 #F2D557
analogous
#57C2F2 #5774F2 #8857F2
triadic
#5774F2 #F25774 #74F257
tetradic
#5774F2 #F257C2 #F2D557 #57F288
square
#5774F2 #F257C2 #F2D557 #57F288
split-complementary
#5774F2 #F28857 #C2F257
monochromatic
#0F30C0 #1E45EE #5774F2 #90A3F6 #C9D2FB
Accessibility & contrast
On white
4.05
#5774F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5774F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5774F2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5774F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5774F2 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2385F6
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5774f2; /* rgb */ color: rgb(87, 116, 242); /* oklch */ color: oklch(60.4% 0.191 270.0);
Tailwind
colors: {
custom: {
50: '#959bf7',
500: '#5774f2',
950: '#000000',
},
}SCSS
$custom: #5774f2; $custom-light: #959bf7; $custom-dark: #000000;
JSON
{
"hex": "#5774f2",
"rgb": {
"r": 87,
"g": 116,
"b": 242
},
"hsl": {
"h": 228.774,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.60441,
"c": 0.19119,
"h": 270
},
"luminance": 0.20928
}Semantic roles & 50–950 ramp
primary
#5774F2
secondary
#EDE3B8
accent
#B803E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85