#5B85CC#5B85CC

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

Color values

HEX#5B85CC
RGBrgb(91, 133, 204)
HSLhsl(218, 53%, 58%)
HSVhsv(218, 55%, 80%)
CMYKcmyk(55.4%, 34.8%, 0%, 20%)
CIE-LABlab(55.44, 6.33, -41.14)
CIE-LCHlch(55.44, 41.63, 278.74°)
OKLaboklab(61.77% -0.0196 -0.1162)
OKLCHoklch(61.77% 0.118 260.4)
XYZxyz(23.5973, 23.3570, 60.3799)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85CC #CCA25B
analogous
#5BBDCC #5B85CC #695BCC
triadic
#5B85CC #CC5B85 #85CC5B
tetradic
#5B85CC #CC5BBD #CCA25B #5BCC69
square
#5B85CC #CC5BBD #CCA25B #5BCC69
split-complementary
#5B85CC #CC695B #BDCC5B
monochromatic
#294B84 #3765B2 #5B85CC #8AA8DB #B8CAE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B85CC#FFFFFF#000000##000000
##5B85CC1.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)
#688BCF
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#11959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b85cc;
/* rgb */ color: rgb(91, 133, 204);
/* oklch */ color: oklch(61.8% 0.118 260.4);
Tailwind
colors: {
  custom: {
    50: '#91a8dc',
    500: '#5b85cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b85cc;
$custom-light: #91a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85cc",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 217.699,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61766,
    "c": 0.11789,
    "h": 260.4
  },
  "luminance": 0.23359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B85CC

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

Preview Lab → · Contrast checker → · Palette generator →

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