#5A8DEF#5A8DEF
#5A8DEF is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.4% C 0.157 H 262.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8DEF |
|---|---|
| RGB | rgb(90, 141, 239) |
| HSL | hsl(219, 82%, 65%) |
| HSV | hsv(219, 62%, 94%) |
| CMYK | cmyk(62.3%, 41%, 0%, 6.3%) |
| CIE-LAB | lab(59.39, 12.86, -54.46) |
| CIE-LCH | lch(59.39, 55.96, 283.29°) |
| OKLab | oklab(65.41% -0.0212 -0.1551) |
| OKLCH | oklch(65.41% 0.157 262.2) |
| XYZ | xyz(29.3159, 27.4527, 85.3986) |
| Luminance | 0.2746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.44
Soft Blue
#6488EA
ΔE00 2.77
Dodger Blue
#3E82FC
ΔE00 3.76
Dark Sky Blue
#448EE4
ΔE00 4.05
Dodgerblue
#1E90FF
ΔE00 5.26
Faded Blue
#658CBB
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8DEF #EFBC5A
analogous
#5AD8EF #5A8DEF #725AEF
triadic
#5A8DEF #EF5A8D #8DEF5A
tetradic
#5A8DEF #EF5AD8 #EFBC5A #5AEF72
square
#5A8DEF #EF5AD8 #EFBC5A #5AEF72
split-complementary
#5A8DEF #EF725A #D8EF5A
monochromatic
#124CBC #2266EA #5A8DEF #92B4F4 #CADAFA
Accessibility & contrast
On white
3.24
#5A8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#5A8DEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8DEF
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8DEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8DEF | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5a8def; /* rgb */ color: rgb(90, 141, 239); /* oklch */ color: oklch(65.4% 0.157 262.2);
Tailwind
colors: {
custom: {
50: '#95adf5',
500: '#5a8def',
950: '#000000',
},
}SCSS
$custom: #5a8def; $custom-light: #95adf5; $custom-dark: #000000;
JSON
{
"hex": "#5a8def",
"rgb": {
"r": 90,
"g": 141,
"b": 239
},
"hsl": {
"h": 219.463,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.65405,
"c": 0.15656,
"h": 262.2
},
"luminance": 0.27455
}Semantic roles & 50–950 ramp
primary
#5A8DEF
secondary
#ECDBB9
accent
#9507DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85