#5785CA#5785CA

#5785CA is a mid, moderate blue. Relative luminance 0.231; OKLCH L 61.4% C 0.117 H 258.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5785CA
RGBrgb(87, 133, 202)
HSLhsl(216, 52%, 57%)
HSVhsv(216, 57%, 79%)
CMYKcmyk(56.9%, 34.2%, 0%, 20.8%)
CIE-LABlab(55.14, 4.84, -40.50)
CIE-LCHlch(55.14, 40.79, 276.81°)
OKLaboklab(61.45% -0.0237 -0.1144)
OKLCHoklch(61.45% 0.117 258.3)
XYZxyz(22.9750, 23.0637, 59.1067)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785CA #CA9C57
analogous
#57BFCA #5785CA #6357CA
triadic
#5785CA #CA5785 #85CA57
tetradic
#5785CA #CA57BF #CA9C57 #57CA63
square
#5785CA #CA57BF #CA9C57 #57CA63
split-complementary
#5785CA #CA6357 #BFCA57
monochromatic
#284B7F #3766AD #5785CA #86A7D9 #B4C9E7

Accessibility & contrast

On white

3.74
#5785CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5785CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785CA#FFFFFF#000000##000000
##5785CA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5785ca;
/* rgb */ color: rgb(87, 133, 202);
/* oklch */ color: oklch(61.4% 0.117 258.3);
Tailwind
colors: {
  custom: {
    50: '#8fa8da',
    500: '#5785ca',
    950: '#000000',
  },
}
SCSS
$custom: #5785ca;
$custom-light: #8fa8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5785ca",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 216,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61446,
    "c": 0.11686,
    "h": 258.3
  },
  "luminance": 0.23066
}

Semantic roles & 50–950 ramp

primary
#5785CA
secondary
#D6C3A7
accent
#A24CDB
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785CA

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

Preview Lab → · Contrast checker → · Palette generator →

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