#5787FA#5787FA
#5787FA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.179 H 264.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5787FA |
|---|---|
| RGB | rgb(87, 135, 250) |
| HSL | hsl(222, 94%, 66%) |
| HSV | hsv(222, 65%, 98%) |
| CMYK | cmyk(65.2%, 46%, 0%, 2%) |
| CIE-LAB | lab(58.28, 19.68, -62.32) |
| CIE-LCH | lch(58.28, 65.35, 287.53°) |
| OKLab | oklab(64.71% -0.0162 -0.1783) |
| OKLCH | oklch(64.71% 0.179 264.8) |
| XYZ | xyz(29.8438, 26.2535, 93.9186) |
| Luminance | 0.2626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.15
Dodger Blue
#3E82FC
ΔE00 2.65
Lightish Blue
#3D7AFD
ΔE00 4.30
Cornflowerblue
#6495ED
ΔE00 4.46
Clear Blue
#247AFD
ΔE00 5.13
Azure
#007FFF
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787FA #FACA57
analogous
#57D9FA #5787FA #7857FA
triadic
#5787FA #FA5787 #87FA57
tetradic
#5787FA #FA57D9 #FACA57 #57FA78
square
#5787FA #FA57D9 #FACA57 #57FA78
split-complementary
#5787FA #FA7857 #D9FA57
monochromatic
#0642D0 #1C5DF8 #5787FA #92B1FC #CEDCFE
Accessibility & contrast
On white
3.36
#5787FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#5787FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787FA
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787FA | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#2C85F8
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5787fa; /* rgb */ color: rgb(87, 135, 250); /* oklch */ color: oklch(64.7% 0.179 264.8);
Tailwind
colors: {
custom: {
50: '#96a9fd',
500: '#5787fa',
950: '#000000',
},
}SCSS
$custom: #5787fa; $custom-light: #96a9fd; $custom-dark: #000000;
JSON
{
"hex": "#5787fa",
"rgb": {
"r": 87,
"g": 135,
"b": 250
},
"hsl": {
"h": 222.331,
"s": 94.22,
"l": 66.078
},
"oklch": {
"l": 0.64713,
"c": 0.17907,
"h": 264.8
},
"luminance": 0.26256
}Semantic roles & 50–950 ramp
primary
#5787FA
secondary
#F1E1BC
accent
#A200E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86