#5785FB#5785FB
#5785FB is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.183 H 265.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5785FB |
|---|---|
| RGB | rgb(87, 133, 251) |
| HSL | hsl(223, 95%, 66%) |
| HSV | hsv(223, 65%, 98%) |
| CMYK | cmyk(65.3%, 47%, 0%, 1.6%) |
| CIE-LAB | lab(57.81, 21.23, -63.62) |
| CIE-LCH | lch(57.81, 67.07, 288.46°) |
| OKLab | oklab(64.38% -0.0142 -0.1822) |
| OKLCH | oklch(64.38% 0.183 265.5) |
| XYZ | xyz(29.7245, 25.7635, 94.6545) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.25
Dodger Blue
#3E82FC
ΔE00 2.63
Lightish Blue
#3D7AFD
ΔE00 3.82
Clear Blue
#247AFD
ΔE00 4.85
Cornflowerblue
#6495ED
ΔE00 5.12
Azure
#007FFF
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5785FB #FBCD57
analogous
#57D7FB #5785FB #7B57FB
triadic
#5785FB #FB5785 #85FB57
tetradic
#5785FB #FB57D7 #FBCD57 #57FB7B
square
#5785FB #FB57D7 #FBCD57 #57FB7B
split-complementary
#5785FB #FB7B57 #D7FB57
monochromatic
#053FD3 #1B5AFA #5785FB #93B0FC #CFDCFE
Accessibility & contrast
On white
3.41
#5785FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#5785FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5785FB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5785FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5785FB | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#2384F9
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5785fb; /* rgb */ color: rgb(87, 133, 251); /* oklch */ color: oklch(64.4% 0.183 265.5);
Tailwind
colors: {
custom: {
50: '#96a8fd',
500: '#5785fb',
950: '#000000',
},
}SCSS
$custom: #5785fb; $custom-light: #96a8fd; $custom-dark: #000000;
JSON
{
"hex": "#5785fb",
"rgb": {
"r": 87,
"g": 133,
"b": 251
},
"hsl": {
"h": 223.171,
"s": 95.349,
"l": 66.275
},
"oklch": {
"l": 0.64376,
"c": 0.18274,
"h": 265.5
},
"luminance": 0.25766
}Semantic roles & 50–950 ramp
primary
#5785FB
secondary
#F2E3BC
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86