#5C7BEB#5C7BEB
#5C7BEB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.172 H 269.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7BEB |
|---|---|
| RGB | rgb(92, 123, 235) |
| HSL | hsl(227, 78%, 64%) |
| HSV | hsv(227, 61%, 92%) |
| CMYK | cmyk(60.9%, 47.7%, 0%, 7.8%) |
| CIE-LAB | lab(54.49, 22.76, -60.07) |
| CIE-LCH | lch(54.49, 64.24, 290.75°) |
| OKLab | oklab(61.6% -0.0023 -0.1718) |
| OKLCH | oklch(61.6% 0.172 269.2) |
| XYZ | xyz(26.4869, 22.4371, 81.5161) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.20
Lightish Blue
#3D7AFD
ΔE00 3.44
Soft Blue
#6488EA
ΔE00 4.18
Cornflower Blue
#5170D7
ΔE00 4.72
Dodger Blue
#3E82FC
ΔE00 4.84
Clear Blue
#247AFD
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7BEB #EBCC5C
analogous
#5CC3EB #5C7BEB #855CEB
triadic
#5C7BEB #EB5C7B #7BEB5C
tetradic
#5C7BEB #EB5CC3 #EBCC5C #5CEB85
square
#5C7BEB #EB5CC3 #EBCC5C #5CEB85
split-complementary
#5C7BEB #EB855C #C3EB5C
monochromatic
#1639B6 #254FE4 #5C7BEB #93A7F2 #C9D3F8
Accessibility & contrast
On white
3.83
#5C7BEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#5C7BEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C7BEB
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7BEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C7BEB | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c7beb; /* rgb */ color: rgb(92, 123, 235); /* oklch */ color: oklch(61.6% 0.172 269.2);
Tailwind
colors: {
custom: {
50: '#96a0f2',
500: '#5c7beb',
950: '#000000',
},
}SCSS
$custom: #5c7beb; $custom-light: #96a0f2; $custom-dark: #000000;
JSON
{
"hex": "#5c7beb",
"rgb": {
"r": 92,
"g": 123,
"b": 235
},
"hsl": {
"h": 226.993,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.61598,
"c": 0.17182,
"h": 269.2
},
"luminance": 0.22439
}Semantic roles & 50–950 ramp
primary
#5C7BEB
secondary
#EAE0B8
accent
#AD0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85