#5F87BB#5F87BB

#5F87BB is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.091 H 255.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5F87BB
RGBrgb(95, 135, 187)
HSLhsl(214, 40%, 55%)
HSVhsv(214, 49%, 73%)
CMYKcmyk(49.2%, 27.8%, 0%, 26.7%)
CIE-LABlab(55.43, 0.73, -31.49)
CIE-LCHlch(55.43, 31.50, 271.34°)
OKLaboklab(61.56% -0.023 -0.0882)
OKLCHoklch(61.56% 0.091 255.3)
XYZxyz(22.3499, 23.3471, 50.3328)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F87BB #BB935F
analogous
#5FB5BB #5F87BB #655FBB
triadic
#5F87BB #BB5F87 #87BB5F
tetradic
#5F87BB #BB5FB5 #BB935F #5FBB65
square
#5F87BB #BB5FB5 #BB935F #5FBB65
split-complementary
#5F87BB #BB655F #B5BB5F
monochromatic
#304C70 #42699B #5F87BB #8AA7CD #B5C7E0

Accessibility & contrast

On white

3.70
#5F87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5F87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F87BB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F87BB#FFFFFF#000000##000000
##5F87BB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABD
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#359399
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f87bb;
/* rgb */ color: rgb(95, 135, 187);
/* oklch */ color: oklch(61.6% 0.091 255.3);
Tailwind
colors: {
  custom: {
    50: '#91a9cf',
    500: '#5f87bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f87bb;
$custom-light: #91a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f87bb",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 213.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61557,
    "c": 0.09113,
    "h": 255.3
  },
  "luminance": 0.23349
}

Semantic roles & 50–950 ramp

primary
#5F87BB
secondary
#CEBDA8
accent
#9C58D0
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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