#5A87BF#5A87BF

#5A87BF is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.099 H 254.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A87BF
RGBrgb(90, 135, 191)
HSLhsl(213, 44%, 55%)
HSVhsv(213, 53%, 75%)
CMYKcmyk(52.9%, 29.3%, 0%, 25.1%)
CIE-LABlab(55.34, 0.79, -33.92)
CIE-LCHlch(55.34, 33.93, 271.34°)
OKLaboklab(61.48% -0.0264 -0.0953)
OKLCHoklch(61.48% 0.099 254.5)
XYZxyz(22.2811, 23.2615, 52.5959)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A87BF #BF925A
analogous
#5ABABF #5A87BF #5F5ABF
triadic
#5A87BF #BF5A87 #87BF5A
tetradic
#5A87BF #BF5ABA #BF925A #5ABF5F
square
#5A87BF #BF5ABA #BF925A #5ABF5F
split-complementary
#5A87BF #BF5F5A #BABF5A
monochromatic
#2C4B72 #3D699E #5A87BF #86A7D0 #B2C7E1

Accessibility & contrast

On white

3.72
#5A87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5A87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A87BF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A87BF#FFFFFF#000000##000000
##5A87BF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#23949B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a87bf;
/* rgb */ color: rgb(90, 135, 191);
/* oklch */ color: oklch(61.5% 0.099 254.5);
Tailwind
colors: {
  custom: {
    50: '#8fa9d2',
    500: '#5a87bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a87bf;
$custom-light: #8fa9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a87bf",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 213.267,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.09887,
    "h": 254.5
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#5A87BF
secondary
#D0BDA5
accent
#9B54D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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