#5C7AEC#5C7AEC
#5C7AEC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.174 H 269.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7AEC |
|---|---|
| RGB | rgb(92, 122, 236) |
| HSL | hsl(228, 79%, 64%) |
| HSV | hsv(228, 61%, 93%) |
| CMYK | cmyk(61%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(54.29, 23.70, -60.95) |
| CIE-LCH | lch(54.29, 65.40, 291.25°) |
| OKLab | oklab(61.47% -0.0012 -0.1744) |
| OKLCH | oklch(61.47% 0.174 269.6) |
| XYZ | xyz(26.5084, 22.2483, 82.2380) |
| Luminance | 0.2225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.97
Lightish Blue
#3D7AFD
ΔE00 3.51
Soft Blue
#6488EA
ΔE00 4.52
Cornflower Blue
#5170D7
ΔE00 4.57
Dodger Blue
#3E82FC
ΔE00 5.09
Clear Blue
#247AFD
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7AEC #ECCE5C
analogous
#5CC2EC #5C7AEC #865CEC
triadic
#5C7AEC #EC5C7A #7AEC5C
tetradic
#5C7AEC #EC5CC2 #ECCE5C #5CEC86
square
#5C7AEC #EC5CC2 #ECCE5C #5CEC86
split-complementary
#5C7AEC #EC865C #C2EC5C
monochromatic
#1537B8 #254DE6 #5C7AEC #93A7F2 #CAD3F9
Accessibility & contrast
On white
3.85
#5C7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#5C7AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C7AEC
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C7AEC | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#217CEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c7aec; /* rgb */ color: rgb(92, 122, 236); /* oklch */ color: oklch(61.5% 0.174 269.6);
Tailwind
colors: {
custom: {
50: '#96a0f3',
500: '#5c7aec',
950: '#000000',
},
}SCSS
$custom: #5c7aec; $custom-light: #96a0f3; $custom-dark: #000000;
JSON
{
"hex": "#5c7aec",
"rgb": {
"r": 92,
"g": 122,
"b": 236
},
"hsl": {
"h": 227.5,
"s": 79.121,
"l": 64.314
},
"oklch": {
"l": 0.61467,
"c": 0.17439,
"h": 269.6
},
"luminance": 0.22251
}Semantic roles & 50–950 ramp
primary
#5C7AEC
secondary
#EBE0B9
accent
#B00ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85