#5A85CC#5A85CC

#5A85CC is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.118 H 260.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5A85CC
RGBrgb(90, 133, 204)
HSLhsl(217, 53%, 58%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(55.9%, 34.8%, 0%, 20%)
CIE-LABlab(55.39, 6.12, -41.23)
CIE-LCHlch(55.39, 41.68, 278.44°)
OKLaboklab(61.71% -0.0205 -0.1165)
OKLCHoklch(61.71% 0.118 260)
XYZxyz(23.4993, 23.3065, 60.3753)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85CC #CCA15A
analogous
#5ABECC #5A85CC #685ACC
triadic
#5A85CC #CC5A85 #85CC5A
tetradic
#5A85CC #CC5ABE #CCA15A #5ACC68
square
#5A85CC #CC5ABE #CCA15A #5ACC68
split-complementary
#5A85CC #CC685A #BECC5A
monochromatic
#294B83 #3765B2 #5A85CC #89A8DA #B7CAE9

Accessibility & contrast

On white

3.71
#5A85CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5A85CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85CC#FFFFFF#000000##000000
##5A85CC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#08959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a85cc;
/* rgb */ color: rgb(90, 133, 204);
/* oklch */ color: oklch(61.7% 0.118 260.0);
Tailwind
colors: {
  custom: {
    50: '#91a8dc',
    500: '#5a85cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a85cc;
$custom-light: #91a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85cc",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 217.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.1183,
    "h": 260
  },
  "luminance": 0.23308
}

Semantic roles & 50–950 ramp

primary
#5A85CC
secondary
#D8C7AA
accent
#A64CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A85CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5A85CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva