#5F85BC#5F85BC

#5F85BC is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.2% C 0.094 H 257.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F85BC
RGBrgb(95, 133, 188)
HSLhsl(215, 41%, 55%)
HSVhsv(215, 49%, 74%)
CMYKcmyk(49.5%, 29.3%, 0%, 26.3%)
CIE-LABlab(54.90, 2.21, -32.88)
CIE-LCHlch(54.90, 32.95, 273.85°)
OKLaboklab(61.16% -0.0203 -0.0922)
OKLCHoklch(61.16% 0.094 257.6)
XYZxyz(22.1809, 22.8372, 50.8064)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85BC #BC965F
analogous
#5FB3BC #5F85BC #675FBC
triadic
#5F85BC #BC5F85 #85BC5F
tetradic
#5F85BC #BC5FB3 #BC965F #5FBC67
square
#5F85BC #BC5FB3 #BC965F #5FBC67
split-complementary
#5F85BC #BC675F #B3BC5F
monochromatic
#2F4A71 #41679C #5F85BC #8AA6CE #B5C7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F85BC#FFFFFF#000000##000000
##5F85BC1.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)
#7088BE
Deuteranopia (green-blind)
#657FBB
Tritanopia (blue-blind)
#359198
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f85bc;
/* rgb */ color: rgb(95, 133, 188);
/* oklch */ color: oklch(61.2% 0.094 257.6);
Tailwind
colors: {
  custom: {
    50: '#91a8d0',
    500: '#5f85bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f85bc;
$custom-light: #91a8d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85bc",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 188
  },
  "hsl": {
    "h": 215.484,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.09439,
    "h": 257.6
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F85BC

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

Preview Lab → · Contrast checker → · Palette generator →

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