#5A7EE3#5A7EE3
#5A7EE3 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.6% C 0.158 H 267.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EE3 |
|---|---|
| RGB | rgb(90, 126, 227) |
| HSL | hsl(224, 71%, 62%) |
| HSV | hsv(224, 60%, 89%) |
| CMYK | cmyk(60.4%, 44.5%, 0%, 11%) |
| CIE-LAB | lab(54.70, 17.90, -55.27) |
| CIE-LCH | lch(54.70, 58.10, 287.95°) |
| OKLab | oklab(61.58% -0.0083 -0.1577) |
| OKLCH | oklch(61.58% 0.158 267) |
| XYZ | xyz(25.5377, 22.6392, 75.6822) |
| Luminance | 0.2264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.37
Lightish Blue
#3D7AFD
ΔE00 3.52
Dodger Blue
#3E82FC
ΔE00 4.10
Clear Blue
#247AFD
ΔE00 4.64
Cornflower
#6A79F7
ΔE00 4.70
Cornflower Blue
#5170D7
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EE3 #E3BF5A
analogous
#5AC2E3 #5A7EE3 #7B5AE3
triadic
#5A7EE3 #E35A7E #7EE35A
tetradic
#5A7EE3 #E35AC2 #E3BF5A #5AE37B
square
#5A7EE3 #E35AC2 #E3BF5A #5AE37B
split-complementary
#5A7EE3 #E37B5A #C2E35A
monochromatic
#1C41A6 #2655DA #5A7EE3 #8EA7EC #C3D0F5
Accessibility & contrast
On white
3.80
#5A7EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#5A7EE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EE3
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EE3 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F89E7
Deuteranopia (green-blind)
#3A7DE1
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7ee3; /* rgb */ color: rgb(90, 126, 227); /* oklch */ color: oklch(61.6% 0.158 267.0);
Tailwind
colors: {
custom: {
50: '#94a2ec',
500: '#5a7ee3',
950: '#000000',
},
}SCSS
$custom: #5a7ee3; $custom-light: #94a2ec; $custom-dark: #000000;
JSON
{
"hex": "#5a7ee3",
"rgb": {
"r": 90,
"g": 126,
"b": 227
},
"hsl": {
"h": 224.234,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.61579,
"c": 0.1579,
"h": 267
},
"luminance": 0.22641
}Semantic roles & 50–950 ramp
primary
#5A7EE3
secondary
#E6D8B3
accent
#A012D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84