#5B85CB#5B85CB

#5B85CB is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.117 H 260.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B85CB
RGBrgb(91, 133, 203)
HSLhsl(218, 52%, 58%)
HSVhsv(218, 55%, 80%)
CMYKcmyk(55.2%, 34.5%, 0%, 20.4%)
CIE-LABlab(55.39, 6.01, -40.66)
CIE-LCHlch(55.39, 41.10, 278.41°)
OKLaboklab(61.71% -0.0199 -0.1148)
OKLCHoklch(61.71% 0.117 260.2)
XYZxyz(23.4777, 23.3091, 59.7503)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85CB #CBA15B
analogous
#5BBDCB #5B85CB #695BCB
triadic
#5B85CB #CB5B85 #85CB5B
tetradic
#5B85CB #CB5BBD #CBA15B #5BCB69
square
#5B85CB #CB5BBD #CBA15B #5BCB69
split-complementary
#5B85CB #CB695B #BDCB5B
monochromatic
#294B82 #3865B1 #5B85CB #89A8DA #B8CAE8

Accessibility & contrast

On white

3.71
#5B85CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5B85CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85CB#FFFFFF#000000##000000
##5B85CB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACE
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#13949E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b85cb;
/* rgb */ color: rgb(91, 133, 203);
/* oklch */ color: oklch(61.7% 0.117 260.2);
Tailwind
colors: {
  custom: {
    50: '#91a8db',
    500: '#5b85cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b85cb;
$custom-light: #91a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85cb",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 217.5,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.11652,
    "h": 260.2
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#5B85CB
secondary
#D7C7AA
accent
#A64CDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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