#5B87AF#5B87AF

#5B87AF is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.078 H 246.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5B87AF
RGBrgb(91, 135, 175)
HSLhsl(209, 34%, 52%)
HSVhsv(209, 48%, 69%)
CMYKcmyk(48%, 22.9%, 0%, 31.4%)
CIE-LABlab(54.71, -3.87, -25.77)
CIE-LCHlch(54.71, 26.05, 261.45°)
OKLaboklab(60.76% -0.0306 -0.0718)
OKLCHoklch(60.76% 0.078 246.9)
XYZxyz(20.7136, 22.6458, 43.8287)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87AF #AF835B
analogous
#5BAFAD #5B87AF #5B5DAF
triadic
#5B87AF #AF5B87 #87AF5B
tetradic
#5B87AF #AD5BAF #AF835B #5DAF5B
square
#5B87AF #AD5BAF #AF835B #5DAF5B
split-complementary
#5B87AF #AF5B5D #AFAD5B
monochromatic
#2F4961 #43688A #5B87AF #84A5C3 #ADC3D7

Accessibility & contrast

On white

3.80
#5B87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5B87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87AF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87AF#FFFFFF#000000##000000
##5B87AF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#359094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b87af;
/* rgb */ color: rgb(91, 135, 175);
/* oklch */ color: oklch(60.8% 0.078 246.9);
Tailwind
colors: {
  custom: {
    50: '#8ea9c7',
    500: '#5b87af',
    950: '#000000',
  },
}
SCSS
$custom: #5b87af;
$custom-light: #8ea9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87af",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 208.571,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.07804,
    "h": 246.9
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#5B87AF
secondary
#C5B2A1
accent
#915DCB
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0D1013
muted
#7D7F82

Preview Lab

Preview with #5B87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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