#5787FF#5787FF

#5787FF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.186 H 265.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5787FF
RGBrgb(87, 135, 255)
HSLhsl(223, 100%, 67%)
HSVhsv(223, 66%, 100%)
CMYKcmyk(65.9%, 47.1%, 0%, 0%)
CIE-LABlab(58.58, 21.38, -64.59)
CIE-LCHlch(58.58, 68.04, 288.32°)
OKLaboklab(65.04% -0.0155 -0.185)
OKLCHoklch(65.04% 0.186 265.2)
XYZxyz(30.6382, 26.5712, 98.1025)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787FF #FFCF57
analogous
#57DBFF #5787FF #7B57FF
triadic
#5787FF #FF5787 #87FF57
tetradic
#5787FF #FF57DB #FFCF57 #57FF7B
square
#5787FF #FF57DB #FFCF57 #57FF7B
split-complementary
#5787FF #FF7B57 #DBFF57
monochromatic
#003FDC #1A5BFF #5787FF #94B3FF #D1DEFF

Accessibility & contrast

On white

3.33
#5787FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5787FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787FF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787FF#FFFFFF#000000##000000
##5787FF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#2186FD
Tritanopia (blue-blind)
#00A3B7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5787ff;
/* rgb */ color: rgb(87, 135, 255);
/* oklch */ color: oklch(65.0% 0.186 265.2);
Tailwind
colors: {
  custom: {
    50: '#97a9ff',
    500: '#5787ff',
    950: '#000000',
  },
}
SCSS
$custom: #5787ff;
$custom-light: #97a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5787ff",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 222.857,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65037,
    "c": 0.18567,
    "h": 265.2
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#5787FF
secondary
#F4E4BE
accent
#A400E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5787FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5787FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva