#5A7BE1#5A7BE1
#5A7BE1 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.159 H 268.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7BE1 |
|---|---|
| RGB | rgb(90, 123, 225) |
| HSL | hsl(225, 69%, 62%) |
| HSV | hsv(225, 60%, 88%) |
| CMYK | cmyk(60%, 45.3%, 0%, 11.8%) |
| CIE-LAB | lab(53.79, 19.07, -55.61) |
| CIE-LCH | lch(53.79, 58.79, 288.93°) |
| OKLab | oklab(60.84% -0.0056 -0.1587) |
| OKLCH | oklch(60.84% 0.159 268) |
| XYZ | xyz(24.8854, 21.7737, 74.1109) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.73
Cornflower Blue
#5170D7
ΔE00 4.05
Soft Blue
#6488EA
ΔE00 4.36
Cornflower
#6A79F7
ΔE00 4.40
Dodger Blue
#3E82FC
ΔE00 4.91
Clear Blue
#247AFD
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7BE1 #E1C05A
analogous
#5ABFE1 #5A7BE1 #7D5AE1
triadic
#5A7BE1 #E15A7B #7BE15A
tetradic
#5A7BE1 #E15ABF #E1C05A #5AE17D
square
#5A7BE1 #E15ABF #E1C05A #5AE17D
split-complementary
#5A7BE1 #E17D5A #BFE15A
monochromatic
#1E3EA3 #2752D7 #5A7BE1 #8EA4EA #C2CEF4
Accessibility & contrast
On white
3.92
#5A7BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#5A7BE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7BE1
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7BE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7BE1 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B87E5
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5a7be1; /* rgb */ color: rgb(90, 123, 225); /* oklch */ color: oklch(60.8% 0.159 268.0);
Tailwind
colors: {
custom: {
50: '#94a0eb',
500: '#5a7be1',
950: '#000000',
},
}SCSS
$custom: #5a7be1; $custom-light: #94a0eb; $custom-dark: #000000;
JSON
{
"hex": "#5a7be1",
"rgb": {
"r": 90,
"g": 123,
"b": 225
},
"hsl": {
"h": 225.333,
"s": 69.231,
"l": 61.765
},
"oklch": {
"l": 0.60843,
"c": 0.15881,
"h": 268
},
"luminance": 0.21776
}Semantic roles & 50–950 ramp
primary
#5A7BE1
secondary
#E4D8B2
accent
#A314D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84