#5B85DC#5B85DC

#5B85DC is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.7% C 0.140 H 263.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B85DC
RGBrgb(91, 133, 220)
HSLhsl(220, 65%, 61%)
HSVhsv(220, 59%, 86%)
CMYKcmyk(58.6%, 39.5%, 0%, 13.7%)
CIE-LABlab(56.25, 11.54, -48.87)
CIE-LCHlch(56.25, 50.21, 283.28°)
OKLaboklab(62.66% -0.016 -0.1388)
OKLCHoklch(62.66% 0.14 263.4)
XYZxyz(25.6157, 24.1644, 71.0106)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85DC #DCB25B
analogous
#5BC5DC #5B85DC #715BDC
triadic
#5B85DC #DC5B85 #85DC5B
tetradic
#5B85DC #DC5BC5 #DCB25B #5BDC71
square
#5B85DC #DC5BC5 #DCB25B #5BDC71
split-complementary
#5B85DC #DC715B #C5DC5B
monochromatic
#21499B #2C61CE #5B85DC #8DABE7 #C0D0F2

Accessibility & contrast

On white

3.60
#5B85DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5B85DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85DC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85DC#FFFFFF#000000##000000
##5B85DC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#4E81DA
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b85dc;
/* rgb */ color: rgb(91, 133, 220);
/* oklch */ color: oklch(62.7% 0.140 263.4);
Tailwind
colors: {
  custom: {
    50: '#93a8e7',
    500: '#5b85dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b85dc;
$custom-light: #93a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85dc",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 220.465,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.13972,
    "h": 263.4
  },
  "luminance": 0.24167
}

Semantic roles & 50–950 ramp

primary
#5B85DC
secondary
#E2D2B1
accent
#9219CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B85DC

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

Preview Lab → · Contrast checker → · Palette generator →

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