#5787DF#5787DF

#5787DF is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.1% C 0.143 H 261.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5787DF
RGBrgb(87, 135, 223)
HSLhsl(219, 68%, 61%)
HSVhsv(219, 61%, 87%)
CMYKcmyk(61%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.76, 10.57, -49.75)
CIE-LCHlch(56.76, 50.86, 281.99°)
OKLaboklab(63.06% -0.0209 -0.1414)
OKLCHoklch(63.06% 0.143 261.6)
XYZxyz(25.9091, 24.6796, 73.1960)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787DF #DFAF57
analogous
#57CBDF #5787DF #6B57DF
triadic
#5787DF #DF5787 #87DF57
tetradic
#5787DF #DF57CB #DFAF57 #57DF6B
square
#5787DF #DF57CB #DFAF57 #57DF6B
split-complementary
#5787DF #DF6B57 #CBDF57
monochromatic
#1E4B9E #2864D1 #5787DF #8AACE9 #BED0F3

Accessibility & contrast

On white

3.54
#5787DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5787DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787DF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787DF#FFFFFF#000000##000000
##5787DF1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#4E82DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5787df;
/* rgb */ color: rgb(87, 135, 223);
/* oklch */ color: oklch(63.1% 0.143 261.6);
Tailwind
colors: {
  custom: {
    50: '#92a9e9',
    500: '#5787df',
    950: '#000000',
  },
}
SCSS
$custom: #5787df;
$custom-light: #92a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5787df",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 218.824,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.14298,
    "h": 261.6
  },
  "luminance": 0.24682
}

Semantic roles & 50–950 ramp

primary
#5787DF
secondary
#E3D0AF
accent
#8E16D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5787DF

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

Preview Lab → · Contrast checker → · Palette generator →

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