#5674E8#5674E8
#5674E8 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.178 H 269.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5674E8 |
|---|---|
| RGB | rgb(86, 116, 232) |
| HSL | hsl(228, 76%, 62%) |
| HSV | hsv(228, 63%, 91%) |
| CMYK | cmyk(62.9%, 50%, 0%, 9%) |
| CIE-LAB | lab(52.17, 25.01, -62.15) |
| CIE-LCH | lch(52.17, 66.99, 291.92°) |
| OKLab | oklab(59.69% -0.0017 -0.1781) |
| OKLCH | oklch(59.69% 0.178 269.4) |
| XYZ | xyz(24.6437, 20.2932, 78.9466) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.75
Cornflower
#6A79F7
ΔE00 3.98
Lightish Blue
#3D7AFD
ΔE00 4.09
Royal Blue
#4169E1
ΔE00 4.41
Clear Blue
#247AFD
ΔE00 5.41
Deep Sky Blue
#0D75F8
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5674E8 #E8CA56
analogous
#56BDE8 #5674E8 #8156E8
triadic
#5674E8 #E85674 #74E856
tetradic
#5674E8 #E856BD #E8CA56 #56E881
square
#5674E8 #E856BD #E8CA56 #56E881
split-complementary
#5674E8 #E88156 #BDE856
monochromatic
#1736AC #2048E1 #5674E8 #8CA0EF #C2CDF7
Accessibility & contrast
On white
4.15
#5674E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#5674E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5674E8
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5674E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5674E8 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#0276E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5674e8; /* rgb */ color: rgb(86, 116, 232); /* oklch */ color: oklch(59.7% 0.178 269.4);
Tailwind
colors: {
custom: {
50: '#939bf0',
500: '#5674e8',
950: '#000000',
},
}SCSS
$custom: #5674e8; $custom-light: #939bf0; $custom-dark: #000000;
JSON
{
"hex": "#5674e8",
"rgb": {
"r": 86,
"g": 116,
"b": 232
},
"hsl": {
"h": 227.671,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.59691,
"c": 0.17812,
"h": 269.4
},
"luminance": 0.20295
}Semantic roles & 50–950 ramp
primary
#5674E8
secondary
#E8DDB2
accent
#AF0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85