#5785DC#5785DC

#5785DC is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.5% C 0.141 H 262.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5785DC
RGBrgb(87, 133, 220)
HSLhsl(219, 66%, 60%)
HSVhsv(219, 60%, 86%)
CMYKcmyk(60.5%, 39.5%, 0%, 13.7%)
CIE-LABlab(56.05, 10.77, -49.19)
CIE-LCHlch(56.05, 50.36, 282.35°)
OKLaboklab(62.46% -0.0195 -0.1398)
OKLCHoklch(62.46% 0.141 262.1)
XYZxyz(25.2318, 23.9664, 70.9926)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785DC #DCAE57
analogous
#57C7DC #5785DC #6B57DC
triadic
#5785DC #DC5785 #85DC57
tetradic
#5785DC #DC57C7 #DCAE57 #57DC6B
square
#5785DC #DC57C7 #DCAE57 #57DC6B
split-complementary
#5785DC #DC6B57 #C7DC57
monochromatic
#204A99 #2A62CB #5785DC #8AAAE7 #BCCFF1

Accessibility & contrast

On white

3.62
#5785DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5785DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785DC#FFFFFF#000000##000000
##5785DC1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDF
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5785dc;
/* rgb */ color: rgb(87, 133, 220);
/* oklch */ color: oklch(62.5% 0.141 262.1);
Tailwind
colors: {
  custom: {
    50: '#91a8e7',
    500: '#5785dc',
    950: '#000000',
  },
}
SCSS
$custom: #5785dc;
$custom-light: #91a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5785dc",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 219.248,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62456,
    "c": 0.14118,
    "h": 262.1
  },
  "luminance": 0.23969
}

Semantic roles & 50–950 ramp

primary
#5785DC
secondary
#E1CFAE
accent
#8F18CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5785DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5785DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva