#5785D8#5785D8

#5785D8 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.2% C 0.136 H 261.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5785D8
RGBrgb(87, 133, 216)
HSLhsl(219, 62%, 59%)
HSVhsv(219, 60%, 85%)
CMYKcmyk(59.7%, 38.4%, 0%, 15.3%)
CIE-LABlab(55.84, 9.44, -47.28)
CIE-LCHlch(55.84, 48.22, 281.29°)
OKLaboklab(62.22% -0.0204 -0.1342)
OKLCHoklch(62.22% 0.136 261.4)
XYZxyz(24.7084, 23.7570, 68.2359)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785D8 #D8AA57
analogous
#57C5D8 #5785D8 #6A57D8
triadic
#5785D8 #D85785 #85D857
tetradic
#5785D8 #D857C5 #D8AA57 #57D86A
square
#5785D8 #D857C5 #D8AA57 #57D86A
split-complementary
#5785D8 #D86A57 #C5D857
monochromatic
#224A93 #2E63C4 #5785D8 #89A9E4 #BACDEF

Accessibility & contrast

On white

3.65
#5785D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5785D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785D8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785D8#FFFFFF#000000##000000
##5785D81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDB
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#0098A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5785d8;
/* rgb */ color: rgb(87, 133, 216);
/* oklch */ color: oklch(62.2% 0.136 261.4);
Tailwind
colors: {
  custom: {
    50: '#91a8e4',
    500: '#5785d8',
    950: '#000000',
  },
}
SCSS
$custom: #5785d8;
$custom-light: #91a8e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5785d8",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 216
  },
  "hsl": {
    "h": 218.605,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.13577,
    "h": 261.4
  },
  "luminance": 0.23759
}

Semantic roles & 50–950 ramp

primary
#5785D8
secondary
#DFCDAC
accent
#AB42E5
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #5785D8

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

Preview Lab → · Contrast checker → · Palette generator →

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