#5F86BD#5F86BD

#5F86BD is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.4% C 0.095 H 257.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F86BD
RGBrgb(95, 134, 189)
HSLhsl(215, 42%, 56%)
HSVhsv(215, 50%, 74%)
CMYKcmyk(49.7%, 29.1%, 0%, 25.9%)
CIE-LABlab(55.23, 1.93, -32.94)
CIE-LCHlch(55.23, 32.99, 273.36°)
OKLaboklab(61.43% -0.0212 -0.0923)
OKLCHoklch(61.43% 0.095 257.1)
XYZxyz(22.4266, 23.1556, 51.4220)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86BD #BD965F
analogous
#5FB5BD #5F86BD #675FBD
triadic
#5F86BD #BD5F86 #86BD5F
tetradic
#5F86BD #BD5FB5 #BD965F #5FBD67
square
#5F86BD #BD5FB5 #BD965F #5FBD67
split-complementary
#5F86BD #BD675F #B5BD5F
monochromatic
#2F4B72 #41689E #5F86BD #8AA7CF #B6C8E1

Accessibility & contrast

On white

3.73
#5F86BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5F86BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86BD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86BD#FFFFFF#000000##000000
##5F86BD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#349299
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f86bd;
/* rgb */ color: rgb(95, 134, 189);
/* oklch */ color: oklch(61.4% 0.095 257.1);
Tailwind
colors: {
  custom: {
    50: '#92a9d1',
    500: '#5f86bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f86bd;
$custom-light: #92a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86bd",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 189
  },
  "hsl": {
    "h": 215.106,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.09475,
    "h": 257.1
  },
  "luminance": 0.23157
}

Semantic roles & 50–950 ramp

primary
#5F86BD
secondary
#CFBFA8
accent
#9E56D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F86BD

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

Preview Lab → · Contrast checker → · Palette generator →

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