#5F85BD#5F85BD

#5F85BD is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.2% C 0.096 H 257.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5F85BD
RGBrgb(95, 133, 189)
HSLhsl(216, 42%, 56%)
HSVhsv(216, 50%, 74%)
CMYKcmyk(49.7%, 29.6%, 0%, 25.9%)
CIE-LABlab(54.95, 2.52, -33.38)
CIE-LCHlch(54.95, 33.47, 274.32°)
OKLaboklab(61.21% -0.02 -0.0936)
OKLCHoklch(61.21% 0.096 257.9)
XYZxyz(22.2891, 22.8805, 51.3761)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85BD #BD975F
analogous
#5FB4BD #5F85BD #685FBD
triadic
#5F85BD #BD5F85 #85BD5F
tetradic
#5F85BD #BD5FB4 #BD975F #5FBD68
square
#5F85BD #BD5FB4 #BD975F #5FBD68
split-complementary
#5F85BD #BD685F #B4BD5F
monochromatic
#2F4A72 #41679E #5F85BD #8AA6CF #B6C7E1

Accessibility & contrast

On white

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

On black

5.58
#5F85BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85BD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85BD#FFFFFF#000000##000000
##5F85BD1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BF
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#349199
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f85bd;
/* rgb */ color: rgb(95, 133, 189);
/* oklch */ color: oklch(61.2% 0.096 257.9);
Tailwind
colors: {
  custom: {
    50: '#92a8d1',
    500: '#5f85bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f85bd;
$custom-light: #92a8d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85bd",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 189
  },
  "hsl": {
    "h": 215.745,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.09573,
    "h": 257.9
  },
  "luminance": 0.22882
}

Semantic roles & 50–950 ramp

primary
#5F85BD
secondary
#CFC0A8
accent
#A056D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F85BD

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

Preview Lab → · Contrast checker → · Palette generator →

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