#5A87AF#5A87AF

#5A87AF is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.7% C 0.079 H 246.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5A87AF
RGBrgb(90, 135, 175)
HSLhsl(208, 35%, 52%)
HSVhsv(208, 49%, 69%)
CMYKcmyk(48.6%, 22.9%, 0%, 31.4%)
CIE-LABlab(54.65, -4.12, -25.85)
CIE-LCHlch(54.65, 26.18, 260.94°)
OKLaboklab(60.71% -0.0315 -0.072)
OKLCHoklch(60.71% 0.079 246.4)
XYZxyz(20.6156, 22.5953, 43.8241)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A87AF #AF825A
analogous
#5AAFAD #5A87AF #5A5DAF
triadic
#5A87AF #AF5A87 #87AF5A
tetradic
#5A87AF #AD5AAF #AF825A #5DAF5A
square
#5A87AF #AD5AAF #AF825A #5DAF5A
split-complementary
#5A87AF #AF5A5D #AFAD5A
monochromatic
#2F4960 #436889 #5A87AF #83A5C3 #ACC3D7

Accessibility & contrast

On white

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

On black

5.52
#5A87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A87AF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A87AF#FFFFFF#000000##000000
##5A87AF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B1
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#339094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a87af;
/* rgb */ color: rgb(90, 135, 175);
/* oklch */ color: oklch(60.7% 0.079 246.4);
Tailwind
colors: {
  custom: {
    50: '#8da9c7',
    500: '#5a87af',
    950: '#000000',
  },
}
SCSS
$custom: #5a87af;
$custom-light: #8da9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a87af",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 208.235,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.07864,
    "h": 246.4
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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