#5F87AF#5F87AF

#5F87AF is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 61.0% C 0.076 H 249.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F87AF
RGBrgb(95, 135, 175)
HSLhsl(210, 33%, 53%)
HSVhsv(210, 46%, 69%)
CMYKcmyk(45.7%, 22.9%, 0%, 31.4%)
CIE-LABlab(54.92, -2.86, -25.41)
CIE-LCHlch(54.92, 25.57, 263.58°)
OKLaboklab(60.99% -0.0269 -0.0707)
OKLCHoklch(60.99% 0.076 249.2)
XYZxyz(21.1185, 22.8546, 43.8477)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F87AF #AF875F
analogous
#5FAFAF #5F87AF #5F5FAF
triadic
#5F87AF #AF5F87 #87AF5F
tetradic
#5F87AF #AF5FAF #AF875F #5FAF5F
square
#5F87AF #AF5FAF #AF875F #5FAF5F
split-complementary
#5F87AF #AF5F5F #AFAF5F
monochromatic
#314A62 #46688B #5F87AF #88A6C3 #B1C4D8

Accessibility & contrast

On white

3.77
#5F87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5F87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F87AF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F87AF#FFFFFF#000000##000000
##5F87AF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#3E9094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f87af;
/* rgb */ color: rgb(95, 135, 175);
/* oklch */ color: oklch(61.0% 0.076 249.2);
Tailwind
colors: {
  custom: {
    50: '#90a9c7',
    500: '#5f87af',
    950: '#000000',
  },
}
SCSS
$custom: #5f87af;
$custom-light: #90a9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f87af",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 210,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.07567,
    "h": 249.2
  },
  "luminance": 0.22856
}

Semantic roles & 50–950 ramp

primary
#5F87AF
secondary
#C6B5A4
accent
#945EC9
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D1013
muted
#7E7F82

Preview Lab

Preview with #5F87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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