#5F87BE#5F87BE

#5F87BE is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.7% C 0.095 H 256.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F87BE
RGBrgb(95, 135, 190)
HSLhsl(215, 42%, 56%)
HSVhsv(215, 50%, 75%)
CMYKcmyk(50%, 28.9%, 0%, 25.5%)
CIE-LABlab(55.56, 1.65, -32.99)
CIE-LCHlch(55.56, 33.03, 272.87°)
OKLaboklab(61.7% -0.0221 -0.0925)
OKLCHoklch(61.7% 0.095 256.5)
XYZxyz(22.6744, 23.4769, 52.0419)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F87BE #BE965F
analogous
#5FB6BE #5F87BE #665FBE
triadic
#5F87BE #BE5F87 #87BE5F
tetradic
#5F87BE #BE5FB6 #BE965F #5FBE66
square
#5F87BE #BE5FB6 #BE965F #5FBE66
split-complementary
#5F87BE #BE665F #B6BE5F
monochromatic
#2F4C74 #41689F #5F87BE #8BA8D0 #B6C8E1

Accessibility & contrast

On white

3.69
#5F87BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5F87BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F87BE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F87BE#FFFFFF#000000##000000
##5F87BE1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#728AC0
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#33939A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f87be;
/* rgb */ color: rgb(95, 135, 190);
/* oklch */ color: oklch(61.7% 0.095 256.5);
Tailwind
colors: {
  custom: {
    50: '#92a9d2',
    500: '#5f87be',
    950: '#000000',
  },
}
SCSS
$custom: #5f87be;
$custom-light: #92a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f87be",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 214.737,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.09512,
    "h": 256.5
  },
  "luminance": 0.23479
}

Semantic roles & 50–950 ramp

primary
#5F87BE
secondary
#D0C0A9
accent
#9E56D2
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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