#5785FA#5785FA
#5785FA is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.3% C 0.181 H 265.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5785FA |
|---|---|
| RGB | rgb(87, 133, 250) |
| HSL | hsl(223, 94%, 66%) |
| HSV | hsv(223, 65%, 98%) |
| CMYK | cmyk(65.2%, 46.8%, 0%, 2%) |
| CIE-LAB | lab(57.75, 20.89, -63.16) |
| CIE-LCH | lch(57.75, 66.53, 288.30°) |
| OKLab | oklab(64.31% -0.0144 -0.1808) |
| OKLCH | oklch(64.31% 0.181 265.5) |
| XYZ | xyz(29.5673, 25.7006, 93.8265) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.19
Dodger Blue
#3E82FC
ΔE00 2.59
Lightish Blue
#3D7AFD
ΔE00 3.80
Clear Blue
#247AFD
ΔE00 4.82
Cornflowerblue
#6495ED
ΔE00 5.09
Azure
#007FFF
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5785FA #FACC57
analogous
#57D7FA #5785FA #7A57FA
triadic
#5785FA #FA5785 #85FA57
tetradic
#5785FA #FA57D7 #FACC57 #57FA7A
square
#5785FA #FA57D7 #FACC57 #57FA7A
split-complementary
#5785FA #FA7A57 #D7FA57
monochromatic
#063FD0 #1C5AF8 #5785FA #92B0FC #CEDBFE
Accessibility & contrast
On white
3.42
#5785FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#5785FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5785FA
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5785FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5785FA | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5785fa; /* rgb */ color: rgb(87, 133, 250); /* oklch */ color: oklch(64.3% 0.181 265.5);
Tailwind
colors: {
custom: {
50: '#96a8fd',
500: '#5785fa',
950: '#000000',
},
}SCSS
$custom: #5785fa; $custom-light: #96a8fd; $custom-dark: #000000;
JSON
{
"hex": "#5785fa",
"rgb": {
"r": 87,
"g": 133,
"b": 250
},
"hsl": {
"h": 223.067,
"s": 94.22,
"l": 66.078
},
"oklch": {
"l": 0.64311,
"c": 0.18142,
"h": 265.5
},
"luminance": 0.25703
}Semantic roles & 50–950 ramp
primary
#5785FA
secondary
#F1E2BC
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86