#5A7FE0#5A7FE0
#5A7FE0 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.6% C 0.153 H 266.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FE0 |
|---|---|
| RGB | rgb(90, 127, 224) |
| HSL | hsl(223, 68%, 62%) |
| HSV | hsv(223, 60%, 88%) |
| CMYK | cmyk(59.8%, 43.3%, 0%, 12.2%) |
| CIE-LAB | lab(54.80, 16.30, -53.43) |
| CIE-LCH | lch(54.80, 55.86, 286.96°) |
| OKLab | oklab(61.6% -0.0098 -0.1523) |
| OKLCH | oklch(61.6% 0.153 266.3) |
| XYZ | xyz(25.2558, 22.7321, 73.5634) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.23
Lightish Blue
#3D7AFD
ΔE00 3.76
Dodger Blue
#3E82FC
ΔE00 4.04
Clear Blue
#247AFD
ΔE00 4.71
Cornflower
#6A79F7
ΔE00 5.17
Cornflower Blue
#5170D7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FE0 #E0BB5A
analogous
#5AC2E0 #5A7FE0 #785AE0
triadic
#5A7FE0 #E05A7F #7FE05A
tetradic
#5A7FE0 #E05AC2 #E0BB5A #5AE078
square
#5A7FE0 #E05AC2 #E0BB5A #5AE078
split-complementary
#5A7FE0 #E0785A #C2E05A
monochromatic
#1E42A1 #2858D5 #5A7FE0 #8EA7EA #C1CFF3
Accessibility & contrast
On white
3.79
#5A7FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#5A7FE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FE0
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FE0 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538AE4
Deuteranopia (green-blind)
#3F7DDE
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7fe0; /* rgb */ color: rgb(90, 127, 224); /* oklch */ color: oklch(61.6% 0.153 266.3);
Tailwind
colors: {
custom: {
50: '#93a3ea',
500: '#5a7fe0',
950: '#000000',
},
}SCSS
$custom: #5a7fe0; $custom-light: #93a3ea; $custom-dark: #000000;
JSON
{
"hex": "#5a7fe0",
"rgb": {
"r": 90,
"g": 127,
"b": 224
},
"hsl": {
"h": 223.433,
"s": 68.367,
"l": 61.569
},
"oklch": {
"l": 0.61598,
"c": 0.1526,
"h": 266.3
},
"luminance": 0.22734
}Semantic roles & 50–950 ramp
primary
#5A7FE0
secondary
#E4D6B2
accent
#9D15D0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84