#5785CD#5785CD

#5785CD is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.6% C 0.121 H 259.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5785CD
RGBrgb(87, 133, 205)
HSLhsl(217, 54%, 57%)
HSVhsv(217, 58%, 80%)
CMYKcmyk(57.6%, 35.1%, 0%, 19.6%)
CIE-LABlab(55.28, 5.81, -41.97)
CIE-LCHlch(55.28, 42.37, 277.89°)
OKLaboklab(61.61% -0.023 -0.1187)
OKLCHoklch(61.61% 0.121 259)
XYZxyz(23.3336, 23.2071, 60.9956)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785CD #CD9F57
analogous
#57C0CD #5785CD #6457CD
triadic
#5785CD #CD5785 #85CD57
tetradic
#5785CD #CD57C0 #CD9F57 #57CD64
square
#5785CD #CD57C0 #CD9F57 #57CD64
split-complementary
#5785CD #CD6457 #C0CD57
monochromatic
#274B83 #3566B2 #5785CD #86A7DB #B5C9E9

Accessibility & contrast

On white

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

On black

5.64
#5785CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785CD#FFFFFF#000000##000000
##5785CD1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5785cd;
/* rgb */ color: rgb(87, 133, 205);
/* oklch */ color: oklch(61.6% 0.121 259.0);
Tailwind
colors: {
  custom: {
    50: '#8fa8dc',
    500: '#5785cd',
    950: '#000000',
  },
}
SCSS
$custom: #5785cd;
$custom-light: #8fa8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5785cd",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 216.61,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.1209,
    "h": 259
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#5785CD
secondary
#D8C5A8
accent
#A44ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785CD

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

Preview Lab → · Contrast checker → · Palette generator →

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