#5A7EEC#5A7EEC
#5A7EEC is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.170 H 267.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EEC |
|---|---|
| RGB | rgb(90, 126, 236) |
| HSL | hsl(225, 79%, 64%) |
| HSV | hsv(225, 62%, 93%) |
| CMYK | cmyk(61.9%, 46.6%, 0%, 7.5%) |
| CIE-LAB | lab(55.23, 20.91, -59.45) |
| CIE-LCH | lch(55.23, 63.02, 289.38°) |
| OKLab | oklab(62.15% -0.007 -0.17) |
| OKLCH | oklch(62.15% 0.17 267.6) |
| XYZ | xyz(26.8125, 23.1491, 82.3959) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.06
Soft Blue
#6488EA
ΔE00 3.20
Dodger Blue
#3E82FC
ΔE00 3.83
Cornflower
#6A79F7
ΔE00 3.98
Clear Blue
#247AFD
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EEC #ECC85A
analogous
#5AC7EC #5A7EEC #7F5AEC
triadic
#5A7EEC #EC5A7E #7EEC5A
tetradic
#5A7EEC #EC5AC7 #ECC85A #5AEC7F
square
#5A7EEC #EC5AC7 #ECC85A #5AEC7F
split-complementary
#5A7EEC #EC7F5A #C7EC5A
monochromatic
#153DB7 #2353E6 #5A7EEC #91A9F2 #C8D4F9
Accessibility & contrast
On white
3.73
#5A7EEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#5A7EEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EEC
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EEC | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a7eec; /* rgb */ color: rgb(90, 126, 236); /* oklch */ color: oklch(62.2% 0.170 267.6);
Tailwind
colors: {
custom: {
50: '#95a2f3',
500: '#5a7eec',
950: '#000000',
},
}SCSS
$custom: #5a7eec; $custom-light: #95a2f3; $custom-dark: #000000;
JSON
{
"hex": "#5a7eec",
"rgb": {
"r": 90,
"g": 126,
"b": 236
},
"hsl": {
"h": 225.205,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.62152,
"c": 0.17011,
"h": 267.6
},
"luminance": 0.23151
}Semantic roles & 50–950 ramp
primary
#5A7EEC
secondary
#EBDEB7
accent
#A80ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85