#5C7AEE#5C7AEE
#5C7AEE is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.177 H 269.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7AEE |
|---|---|
| RGB | rgb(92, 122, 238) |
| HSL | hsl(228, 81%, 65%) |
| HSV | hsv(228, 61%, 93%) |
| CMYK | cmyk(61.3%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(54.41, 24.37, -61.87) |
| CIE-LCH | lch(54.41, 66.49, 291.50°) |
| OKLab | oklab(61.6% -0.001 -0.1771) |
| OKLCH | oklch(61.6% 0.177 269.7) |
| XYZ | xyz(26.8006, 22.3651, 83.7769) |
| Luminance | 0.2237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.81
Lightish Blue
#3D7AFD
ΔE00 3.46
Soft Blue
#6488EA
ΔE00 4.53
Cornflower Blue
#5170D7
ΔE00 4.74
Dodger Blue
#3E82FC
ΔE00 5.07
Clear Blue
#247AFD
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7AEE #EED05C
analogous
#5CC3EE #5C7AEE #875CEE
triadic
#5C7AEE #EE5C7A #7AEE5C
tetradic
#5C7AEE #EE5CC3 #EED05C #5CEE87
square
#5C7AEE #EE5CC3 #EED05C #5CEE87
split-complementary
#5C7AEE #EE875C #C3EE5C
monochromatic
#1436BC #254DE8 #5C7AEE #93A7F4 #CBD4FA
Accessibility & contrast
On white
3.84
#5C7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#5C7AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C7AEE
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C7AEE | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#1C7CEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c7aee; /* rgb */ color: rgb(92, 122, 238); /* oklch */ color: oklch(61.6% 0.177 269.7);
Tailwind
colors: {
custom: {
50: '#97a0f4',
500: '#5c7aee',
950: '#000000',
},
}SCSS
$custom: #5c7aee; $custom-light: #97a0f4; $custom-dark: #000000;
JSON
{
"hex": "#5c7aee",
"rgb": {
"r": 92,
"g": 122,
"b": 238
},
"hsl": {
"h": 227.671,
"s": 81.111,
"l": 64.706
},
"oklch": {
"l": 0.616,
"c": 0.17709,
"h": 269.7
},
"luminance": 0.22367
}Semantic roles & 50–950 ramp
primary
#5C7AEE
secondary
#ECE2BA
accent
#B208DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85