#5C7BEA#5C7BEA
#5C7BEA is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.170 H 269.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7BEA |
|---|---|
| RGB | rgb(92, 123, 234) |
| HSL | hsl(227, 77%, 64%) |
| HSV | hsv(227, 61%, 92%) |
| CMYK | cmyk(60.7%, 47.4%, 0%, 8.2%) |
| CIE-LAB | lab(54.43, 22.43, -59.61) |
| CIE-LCH | lch(54.43, 63.69, 290.62°) |
| OKLab | oklab(61.53% -0.0024 -0.1704) |
| OKLCH | oklch(61.53% 0.17 269.2) |
| XYZ | xyz(26.3429, 22.3795, 80.7574) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.28
Lightish Blue
#3D7AFD
ΔE00 3.48
Soft Blue
#6488EA
ΔE00 4.18
Cornflower Blue
#5170D7
ΔE00 4.64
Dodger Blue
#3E82FC
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7BEA #EACB5C
analogous
#5CC2EA #5C7BEA #845CEA
triadic
#5C7BEA #EA5C7B #7BEA5C
tetradic
#5C7BEA #EA5CC2 #EACB5C #5CEA84
square
#5C7BEA #EA5CC2 #EACB5C #5CEA84
split-complementary
#5C7BEA #EA845C #C2EA5C
monochromatic
#173AB4 #264FE3 #5C7BEA #92A7F1 #C8D3F8
Accessibility & contrast
On white
3.83
#5C7BEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#5C7BEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C7BEA
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7BEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C7BEA | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c7bea; /* rgb */ color: rgb(92, 123, 234); /* oklch */ color: oklch(61.5% 0.170 269.2);
Tailwind
colors: {
custom: {
50: '#96a0f1',
500: '#5c7bea',
950: '#000000',
},
}SCSS
$custom: #5c7bea; $custom-light: #96a0f1; $custom-dark: #000000;
JSON
{
"hex": "#5c7bea",
"rgb": {
"r": 92,
"g": 123,
"b": 234
},
"hsl": {
"h": 226.901,
"s": 77.174,
"l": 63.922
},
"oklch": {
"l": 0.61533,
"c": 0.17046,
"h": 269.2
},
"luminance": 0.22382
}Semantic roles & 50–950 ramp
primary
#5C7BEA
secondary
#EADFB8
accent
#AD0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85