#5A7FEA#5A7FEA
#5A7FEA is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.2% C 0.166 H 267.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FEA |
|---|---|
| RGB | rgb(90, 127, 234) |
| HSL | hsl(225, 77%, 64%) |
| HSV | hsv(225, 62%, 92%) |
| CMYK | cmyk(61.5%, 45.7%, 0%, 8.2%) |
| CIE-LAB | lab(55.37, 19.63, -58.11) |
| CIE-LCH | lch(55.37, 61.33, 288.67°) |
| OKLab | oklab(62.22% -0.0083 -0.166) |
| OKLCH | oklch(62.22% 0.166 267.2) |
| XYZ | xyz(26.6520, 23.2906, 80.9170) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.19
Dodger Blue
#3E82FC
ΔE00 3.65
Cornflower
#6A79F7
ΔE00 4.35
Clear Blue
#247AFD
ΔE00 4.49
Cornflower Blue
#5170D7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FEA #EAC55A
analogous
#5AC7EA #5A7FEA #7D5AEA
triadic
#5A7FEA #EA5A7F #7FEA5A
tetradic
#5A7FEA #EA5AC7 #EAC55A #5AEA7D
square
#5A7FEA #EA5AC7 #EAC55A #5AEA7D
split-complementary
#5A7FEA #EA7D5A #C7EA5A
monochromatic
#173FB3 #2455E3 #5A7FEA #90A9F1 #C7D3F8
Accessibility & contrast
On white
3.71
#5A7FEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#5A7FEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FEA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FEA | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#337EE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7fea; /* rgb */ color: rgb(90, 127, 234); /* oklch */ color: oklch(62.2% 0.166 267.2);
Tailwind
colors: {
custom: {
50: '#95a3f1',
500: '#5a7fea',
950: '#000000',
},
}SCSS
$custom: #5a7fea; $custom-light: #95a3f1; $custom-dark: #000000;
JSON
{
"hex": "#5a7fea",
"rgb": {
"r": 90,
"g": 127,
"b": 234
},
"hsl": {
"h": 224.583,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.62224,
"c": 0.16621,
"h": 267.2
},
"luminance": 0.23293
}Semantic roles & 50–950 ramp
primary
#5A7FEA
secondary
#E9DCB6
accent
#A50CDA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85