#5785CC#5785CC

#5785CC is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.6% C 0.120 H 258.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5785CC
RGBrgb(87, 133, 204)
HSLhsl(216, 53%, 57%)
HSVhsv(216, 57%, 80%)
CMYKcmyk(57.4%, 34.8%, 0%, 20%)
CIE-LABlab(55.24, 5.49, -41.48)
CIE-LCHlch(55.24, 41.84, 277.54°)
OKLaboklab(61.55% -0.0232 -0.1173)
OKLCHoklch(61.55% 0.12 258.8)
XYZxyz(23.2133, 23.1590, 60.3619)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785CC #CC9E57
analogous
#57C0CC #5785CC #6357CC
triadic
#5785CC #CC5785 #85CC57
tetradic
#5785CC #CC57C0 #CC9E57 #57CC63
square
#5785CC #CC57C0 #CC9E57 #57CC63
split-complementary
#5785CC #CC6357 #C0CC57
monochromatic
#274B81 #3666B0 #5785CC #86A7DA #B5C9E9

Accessibility & contrast

On white

3.73
#5785CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5785CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785CC#FFFFFF#000000##000000
##5785CC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5785cc;
/* rgb */ color: rgb(87, 133, 204);
/* oklch */ color: oklch(61.6% 0.120 258.8);
Tailwind
colors: {
  custom: {
    50: '#8fa8dc',
    500: '#5785cc',
    950: '#000000',
  },
}
SCSS
$custom: #5785cc;
$custom-light: #8fa8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5785cc",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 216.41,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.11955,
    "h": 258.8
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#5785CC
secondary
#D7C4A8
accent
#A34BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785CC

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

Preview Lab → · Contrast checker → · Palette generator →

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