#5785D2#5785D2

#5785D2 is a mid, vivid blue. Relative luminance 0.235; OKLCH L 61.9% C 0.128 H 260.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5785D2
RGBrgb(87, 133, 210)
HSLhsl(218, 58%, 58%)
HSVhsv(218, 59%, 82%)
CMYKcmyk(58.6%, 36.7%, 0%, 17.6%)
CIE-LABlab(55.54, 7.45, -44.39)
CIE-LCHlch(55.54, 45.02, 279.53°)
OKLaboklab(61.89% -0.0217 -0.1258)
OKLCHoklch(61.89% 0.128 260.2)
XYZxyz(23.9468, 23.4524, 64.2251)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785D2 #D2A457
analogous
#57C2D2 #5785D2 #6657D2
triadic
#5785D2 #D25785 #85D257
tetradic
#5785D2 #D257C2 #D2A457 #57D266
square
#5785D2 #D257C2 #D2A457 #57D266
split-complementary
#5785D2 #D26657 #C2D257
monochromatic
#254B8A #3265BA #5785D2 #87A8DF #B8CBEC

Accessibility & contrast

On white

3.69
#5785D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5785D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785D2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785D2#FFFFFF#000000##000000
##5785D21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD5
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#0096A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5785d2;
/* rgb */ color: rgb(87, 133, 210);
/* oklch */ color: oklch(61.9% 0.128 260.2);
Tailwind
colors: {
  custom: {
    50: '#90a8e0',
    500: '#5785d2',
    950: '#000000',
  },
}
SCSS
$custom: #5785d2;
$custom-light: #90a8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5785d2",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 210
  },
  "hsl": {
    "h": 217.561,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.12766,
    "h": 260.2
  },
  "luminance": 0.23454
}

Semantic roles & 50–950 ramp

primary
#5785D2
secondary
#DBC9AA
accent
#A747E1
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785D2

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

Preview Lab → · Contrast checker → · Palette generator →

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