#5C7AF0#5C7AF0
#5C7AF0 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.180 H 269.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7AF0 |
|---|---|
| RGB | rgb(92, 122, 240) |
| HSL | hsl(228, 83%, 65%) |
| HSV | hsv(228, 62%, 94%) |
| CMYK | cmyk(61.7%, 49.2%, 0%, 5.9%) |
| CIE-LAB | lab(54.54, 25.04, -62.78) |
| CIE-LCH | lch(54.54, 67.59, 291.74°) |
| OKLab | oklab(61.73% -0.0008 -0.1798) |
| OKLCH | oklch(61.73% 0.18 269.7) |
| XYZ | xyz(27.0960, 22.4833, 85.3330) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.66
Lightish Blue
#3D7AFD
ΔE00 3.43
Soft Blue
#6488EA
ΔE00 4.55
Cornflower Blue
#5170D7
ΔE00 4.91
Dodger Blue
#3E82FC
ΔE00 5.06
Clear Blue
#247AFD
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7AF0 #F0D25C
analogous
#5CC4F0 #5C7AF0 #885CF0
triadic
#5C7AF0 #F05C7A #7AF05C
tetradic
#5C7AF0 #F05CC4 #F0D25C #5CF088
square
#5C7AF0 #F05CC4 #F0D25C #5CF088
split-complementary
#5C7AF0 #F0885C #C4F05C
monochromatic
#1235C0 #244CEB #5C7AF0 #94A8F5 #CCD5FA
Accessibility & contrast
On white
3.82
#5C7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#5C7AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C7AF0
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C7AF0 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#167CEE
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c7af0; /* rgb */ color: rgb(92, 122, 240); /* oklch */ color: oklch(61.7% 0.180 269.7);
Tailwind
colors: {
custom: {
50: '#97a0f6',
500: '#5c7af0',
950: '#000000',
},
}SCSS
$custom: #5c7af0; $custom-light: #97a0f6; $custom-dark: #000000;
JSON
{
"hex": "#5c7af0",
"rgb": {
"r": 92,
"g": 122,
"b": 240
},
"hsl": {
"h": 227.838,
"s": 83.146,
"l": 65.098
},
"oklch": {
"l": 0.61733,
"c": 0.17977,
"h": 269.7
},
"luminance": 0.22486
}Semantic roles & 50–950 ramp
primary
#5C7AF0
secondary
#EDE3BB
accent
#B306E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85