#5374E8#5374E8
#5374E8 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.179 H 268.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5374E8 |
|---|---|
| RGB | rgb(83, 116, 232) |
| HSL | hsl(227, 76%, 62%) |
| HSV | hsv(227, 64%, 91%) |
| CMYK | cmyk(64.2%, 50%, 0%, 9%) |
| CIE-LAB | lab(52.01, 24.51, -62.41) |
| CIE-LCH | lch(52.01, 67.05, 291.44°) |
| OKLab | oklab(59.53% -0.0046 -0.1789) |
| OKLCH | oklch(59.53% 0.179 268.5) |
| XYZ | xyz(24.3732, 20.1538, 78.9339) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.61
Lightish Blue
#3D7AFD
ΔE00 3.82
Royal Blue
#4169E1
ΔE00 4.23
Cornflower
#6A79F7
ΔE00 4.33
Deep Sky Blue
#0D75F8
ΔE00 5.00
Clear Blue
#247AFD
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5374E8 #E8C753
analogous
#53BFE8 #5374E8 #7D53E8
triadic
#5374E8 #E85374 #74E853
tetradic
#5374E8 #E853BF #E8C753 #53E87D
square
#5374E8 #E853BF #E8C753 #53E87D
split-complementary
#5374E8 #E87D53 #BFE853
monochromatic
#1737AA #1E49E0 #5374E8 #89A0EF #BFCBF6
Accessibility & contrast
On white
4.17
#5374E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#5374E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5374E8
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5374E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5374E8 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3283EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5374e8; /* rgb */ color: rgb(83, 116, 232); /* oklch */ color: oklch(59.5% 0.179 268.5);
Tailwind
colors: {
custom: {
50: '#929bf0',
500: '#5374e8',
950: '#000000',
},
}SCSS
$custom: #5374e8; $custom-light: #929bf0; $custom-dark: #000000;
JSON
{
"hex": "#5374e8",
"rgb": {
"r": 83,
"g": 116,
"b": 232
},
"hsl": {
"h": 226.711,
"s": 76.41,
"l": 61.765
},
"oklch": {
"l": 0.5953,
"c": 0.179,
"h": 268.5
},
"luminance": 0.20156
}Semantic roles & 50–950 ramp
primary
#5374E8
secondary
#E7DBB0
accent
#AB0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85