#5A85CD#5A85CD

#5A85CD is a mid, moderate blue. Relative luminance 0.234; OKLCH L 61.8% C 0.120 H 260.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A85CD
RGBrgb(90, 133, 205)
HSLhsl(218, 53%, 58%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(56.1%, 35.1%, 0%, 19.6%)
CIE-LABlab(55.44, 6.44, -41.72)
CIE-LCHlch(55.44, 42.21, 278.77°)
OKLaboklab(61.77% -0.0203 -0.1179)
OKLCHoklch(61.77% 0.12 260.2)
XYZxyz(23.6196, 23.3546, 61.0090)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85CD #CDA25A
analogous
#5ABECD #5A85CD #685ACD
triadic
#5A85CD #CD5A85 #85CD5A
tetradic
#5A85CD #CD5ABE #CDA25A #5ACD68
square
#5A85CD #CD5ABE #CDA25A #5ACD68
split-complementary
#5A85CD #CD685A #BECD5A
monochromatic
#284B84 #3665B3 #5A85CD #89A8DB #B8CAE9

Accessibility & contrast

On white

3.70
#5A85CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5A85CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85CD#FFFFFF#000000##000000
##5A85CD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#04959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a85cd;
/* rgb */ color: rgb(90, 133, 205);
/* oklch */ color: oklch(61.8% 0.120 260.2);
Tailwind
colors: {
  custom: {
    50: '#91a8dc',
    500: '#5a85cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a85cd;
$custom-light: #91a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85cd",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 217.565,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61766,
    "c": 0.11966,
    "h": 260.2
  },
  "luminance": 0.23356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A85CD

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

Preview Lab → · Contrast checker → · Palette generator →

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