#5F86BF#5F86BF

#5F86BF is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.5% C 0.097 H 257.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5F86BF
RGBrgb(95, 134, 191)
HSLhsl(216, 43%, 56%)
HSVhsv(216, 50%, 75%)
CMYKcmyk(50.3%, 29.8%, 0%, 25.1%)
CIE-LABlab(55.32, 2.55, -33.93)
CIE-LCHlch(55.32, 34.03, 274.29°)
OKLaboklab(61.53% -0.0206 -0.0952)
OKLCHoklch(61.53% 0.097 257.8)
XYZxyz(22.6452, 23.2431, 52.5732)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86BF #BF985F
analogous
#5FB6BF #5F86BF #685FBF
triadic
#5F86BF #BF5F86 #86BF5F
tetradic
#5F86BF #BF5FB6 #BF985F #5FBF68
square
#5F86BF #BF5FB6 #BF985F #5FBF68
split-complementary
#5F86BF #BF685F #B6BF5F
monochromatic
#2F4B75 #4067A1 #5F86BF #8BA7D0 #B6C8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F86BF#FFFFFF#000000##000000
##5F86BF1.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)
#708AC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#32939A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f86bf;
/* rgb */ color: rgb(95, 134, 191);
/* oklch */ color: oklch(61.5% 0.097 257.8);
Tailwind
colors: {
  custom: {
    50: '#92a9d2',
    500: '#5f86bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f86bf;
$custom-light: #92a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86bf",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 215.625,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.09744,
    "h": 257.8
  },
  "luminance": 0.23245
}

Semantic roles & 50–950 ramp

primary
#5F86BF
secondary
#D1C1A9
accent
#A055D3
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F86BF

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

Preview Lab → · Contrast checker → · Palette generator →

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