#5A7FEF#5A7FEF
#5A7FEF is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.5% C 0.173 H 267.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FEF |
|---|---|
| RGB | rgb(90, 127, 239) |
| HSL | hsl(225, 82%, 65%) |
| HSV | hsv(225, 62%, 94%) |
| CMYK | cmyk(62.3%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(55.67, 21.31, -60.41) |
| CIE-LCH | lch(55.67, 64.06, 289.43°) |
| OKLab | oklab(62.55% -0.0076 -0.1728) |
| OKLCH | oklch(62.55% 0.173 267.5) |
| XYZ | xyz(27.3805, 23.5820, 84.7535) |
| Luminance | 0.2358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.03
Dodger Blue
#3E82FC
ΔE00 3.57
Cornflower
#6A79F7
ΔE00 4.02
Clear Blue
#247AFD
ΔE00 4.50
Azure
#007FFF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FEF #EFCA5A
analogous
#5AC9EF #5A7FEF #805AEF
triadic
#5A7FEF #EF5A7F #7FEF5A
tetradic
#5A7FEF #EF5AC9 #EFCA5A #5AEF80
square
#5A7FEF #EF5AC9 #EFCA5A #5AEF80
split-complementary
#5A7FEF #EF805A #C9EF5A
monochromatic
#123CBC #2254EA #5A7FEF #92AAF4 #CAD6FA
Accessibility & contrast
On white
3.67
#5A7FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#5A7FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FEF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FEF | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478CF3
Deuteranopia (green-blind)
#2A7FED
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7fef; /* rgb */ color: rgb(90, 127, 239); /* oklch */ color: oklch(62.5% 0.173 267.5);
Tailwind
colors: {
custom: {
50: '#96a3f5',
500: '#5a7fef',
950: '#000000',
},
}SCSS
$custom: #5a7fef; $custom-light: #96a3f5; $custom-dark: #000000;
JSON
{
"hex": "#5a7fef",
"rgb": {
"r": 90,
"g": 127,
"b": 239
},
"hsl": {
"h": 225.101,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.62546,
"c": 0.17296,
"h": 267.5
},
"luminance": 0.23584
}Semantic roles & 50–950 ramp
primary
#5A7FEF
secondary
#ECDFB9
accent
#A907DF
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85