#5A7EFB#5A7EFB
#5A7EFB is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.190 H 268.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EFB |
|---|---|
| RGB | rgb(90, 126, 251) |
| HSL | hsl(227, 95%, 67%) |
| HSV | hsv(227, 64%, 98%) |
| CMYK | cmyk(64.1%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(56.15, 25.96, -66.29) |
| CIE-LCH | lch(56.15, 71.19, 291.39°) |
| OKLab | oklab(63.15% -0.0052 -0.1901) |
| OKLCH | oklch(63.15% 0.19 268.4) |
| XYZ | xyz(29.0839, 24.0577, 94.3590) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.09
Cornflower
#6A79F7
ΔE00 3.27
Soft Blue
#6488EA
ΔE00 3.64
Dodger Blue
#3E82FC
ΔE00 3.99
Clear Blue
#247AFD
ΔE00 4.83
Deep Sky Blue
#0D75F8
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EFB #FBD75A
analogous
#5ACEFB #5A7EFB #875AFB
triadic
#5A7EFB #FB5A7E #7EFB5A
tetradic
#5A7EFB #FB5ACE #FBD75A #5AFB87
square
#5A7EFB #FB5ACE #FBD75A #5AFB87
split-complementary
#5A7EFB #FB875A #CEFB5A
monochromatic
#0534D5 #1E4FFA #5A7EFB #96ADFC #D2DBFE
Accessibility & contrast
On white
3.61
#5A7EFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5A7EFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EFB
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EFB | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#009BB1
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5a7efb; /* rgb */ color: rgb(90, 126, 251); /* oklch */ color: oklch(63.1% 0.190 268.4);
Tailwind
colors: {
custom: {
50: '#98a2fd',
500: '#5a7efb',
950: '#000000',
},
}SCSS
$custom: #5a7efb; $custom-light: #98a2fd; $custom-dark: #000000;
JSON
{
"hex": "#5a7efb",
"rgb": {
"r": 90,
"g": 126,
"b": 251
},
"hsl": {
"h": 226.584,
"s": 95.266,
"l": 66.863
},
"oklch": {
"l": 0.63147,
"c": 0.19016,
"h": 268.4
},
"luminance": 0.2406
}Semantic roles & 50–950 ramp
primary
#5A7EFB
secondary
#F2E7BF
accent
#B200E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F18
muted
#7F7E86