#5B85CD#5B85CD

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

Color values

HEX#5B85CD
RGBrgb(91, 133, 205)
HSLhsl(218, 53%, 58%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(55.6%, 35.1%, 0%, 19.6%)
CIE-LABlab(55.49, 6.65, -41.63)
CIE-LCHlch(55.49, 42.16, 279.08°)
OKLaboklab(61.82% -0.0194 -0.1177)
OKLCHoklch(61.82% 0.119 260.6)
XYZxyz(23.7176, 23.4051, 61.0136)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85CD #CDA35B
analogous
#5BBECD #5B85CD #6A5BCD
triadic
#5B85CD #CD5B85 #85CD5B
tetradic
#5B85CD #CD5BBE #CDA35B #5BCD6A
square
#5B85CD #CD5BBE #CDA35B #5BCD6A
split-complementary
#5B85CD #CD6A5B #BECD5B
monochromatic
#294B85 #3765B4 #5B85CD #8AA8DB #B9CBEA

Accessibility & contrast

On white

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

On black

5.68
#5B85CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85CD#FFFFFF#000000##000000
##5B85CD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#0D959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b85cd;
/* rgb */ color: rgb(91, 133, 205);
/* oklch */ color: oklch(61.8% 0.119 260.6);
Tailwind
colors: {
  custom: {
    50: '#91a8dc',
    500: '#5b85cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b85cd;
$custom-light: #91a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85cd",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 217.895,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.11925,
    "h": 260.6
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#5B85CD
secondary
#D9C8AB
accent
#A74BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B85CD

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

Preview Lab → · Contrast checker → · Palette generator →

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