#5F85BB#5F85BB

#5F85BB is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.1% C 0.093 H 257.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5F85BB
RGBrgb(95, 133, 187)
HSLhsl(215, 40%, 55%)
HSVhsv(215, 49%, 73%)
CMYKcmyk(49.2%, 28.9%, 0%, 26.7%)
CIE-LABlab(54.86, 1.91, -32.38)
CIE-LCHlch(54.86, 32.43, 273.37°)
OKLaboklab(61.11% -0.0206 -0.0907)
OKLCHoklch(61.11% 0.093 257.2)
XYZxyz(22.0735, 22.7943, 50.2406)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85BB #BB955F
analogous
#5FB3BB #5F85BB #675FBB
triadic
#5F85BB #BB5F85 #85BB5F
tetradic
#5F85BB #BB5FB3 #BB955F #5FBB67
square
#5F85BB #BB5FB3 #BB955F #5FBB67
split-complementary
#5F85BB #BB675F #B3BB5F
monochromatic
#304A70 #42679B #5F85BB #8AA6CD #B5C6E0

Accessibility & contrast

On white

3.78
#5F85BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5F85BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85BB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85BB#FFFFFF#000000##000000
##5F85BB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#369198
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f85bb;
/* rgb */ color: rgb(95, 133, 187);
/* oklch */ color: oklch(61.1% 0.093 257.2);
Tailwind
colors: {
  custom: {
    50: '#91a8cf',
    500: '#5f85bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f85bb;
$custom-light: #91a8cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85bb",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 187
  },
  "hsl": {
    "h": 215.217,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.09304,
    "h": 257.2
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#5F85BB
secondary
#CEBEA8
accent
#9E58D0
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F85BB

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

Preview Lab → · Contrast checker → · Palette generator →

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