#5B85CF#5B85CF

#5B85CF is a mid, vivid blue. Relative luminance 0.235; OKLCH L 61.9% C 0.122 H 261.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B85CF
RGBrgb(91, 133, 207)
HSLhsl(218, 55%, 58%)
HSVhsv(218, 56%, 81%)
CMYKcmyk(56%, 35.7%, 0%, 18.8%)
CIE-LABlab(55.59, 7.30, -42.61)
CIE-LCHlch(55.59, 43.23, 279.72°)
OKLaboklab(61.93% -0.0189 -0.1205)
OKLCHoklch(61.93% 0.122 261.1)
XYZxyz(23.9605, 23.5023, 62.2931)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85CF #CFA55B
analogous
#5BBFCF #5B85CF #6B5BCF
triadic
#5B85CF #CF5B85 #85CF5B
tetradic
#5B85CF #CF5BBF #CFA55B #5BCF6B
square
#5B85CF #CF5BBF #CFA55B #5BCF6B
split-complementary
#5B85CF #CF6B5B #BFCF5B
monochromatic
#284B88 #3665B7 #5B85CF #8AA8DD #BACBEB

Accessibility & contrast

On white

3.68
#5B85CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5B85CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85CF#FFFFFF#000000##000000
##5B85CF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#0695A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b85cf;
/* rgb */ color: rgb(91, 133, 207);
/* oklch */ color: oklch(61.9% 0.122 261.1);
Tailwind
colors: {
  custom: {
    50: '#91a8de',
    500: '#5b85cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b85cf;
$custom-light: #91a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85cf",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 218.276,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.12197,
    "h": 261.1
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#5B85CF
secondary
#DAC9AC
accent
#A84ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B85CF

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

Preview Lab → · Contrast checker → · Palette generator →

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