#5785CE#5785CE

#5785CE is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.7% C 0.122 H 259.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5785CE
RGBrgb(87, 133, 206)
HSLhsl(217, 55%, 57%)
HSVhsv(217, 58%, 81%)
CMYKcmyk(57.8%, 35.4%, 0%, 19.2%)
CIE-LABlab(55.33, 6.14, -42.45)
CIE-LCHlch(55.33, 42.89, 278.23°)
OKLaboklab(61.66% -0.0227 -0.1201)
OKLCHoklch(61.66% 0.122 259.3)
XYZxyz(23.4547, 23.2556, 61.6333)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785CE #CEA057
analogous
#57C0CE #5785CE #6557CE
triadic
#5785CE #CE5785 #85CE57
tetradic
#5785CE #CE57C0 #CEA057 #57CE65
square
#5785CE #CE57C0 #CEA057 #57CE65
split-complementary
#5785CE #CE6557 #C0CE57
monochromatic
#274B84 #3465B3 #5785CE #86A7DC #B6CAEA

Accessibility & contrast

On white

3.72
#5785CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5785CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785CE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785CE#FFFFFF#000000##000000
##5785CE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5785ce;
/* rgb */ color: rgb(87, 133, 206);
/* oklch */ color: oklch(61.7% 0.122 259.3);
Tailwind
colors: {
  custom: {
    50: '#8fa8dd',
    500: '#5785ce',
    950: '#000000',
  },
}
SCSS
$custom: #5785ce;
$custom-light: #8fa8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5785ce",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 216.807,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.12225,
    "h": 259.3
  },
  "luminance": 0.23258
}

Semantic roles & 50–950 ramp

primary
#5785CE
secondary
#D8C6A8
accent
#A54ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785CE

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

Preview Lab → · Contrast checker → · Palette generator →

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