#5F85BF#5F85BF

#5F85BF is a mid, moderate blue. Relative luminance 0.230; OKLCH L 61.3% C 0.098 H 258.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5F85BF
RGBrgb(95, 133, 191)
HSLhsl(216, 43%, 56%)
HSVhsv(216, 50%, 75%)
CMYKcmyk(50.3%, 30.4%, 0%, 25.1%)
CIE-LABlab(55.04, 3.13, -34.38)
CIE-LCHlch(55.04, 34.52, 275.21°)
OKLaboklab(61.31% -0.0194 -0.0965)
OKLCHoklch(61.31% 0.098 258.6)
XYZxyz(22.5076, 22.9680, 52.5273)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85BF #BF995F
analogous
#5FB5BF #5F85BF #695FBF
triadic
#5F85BF #BF5F85 #85BF5F
tetradic
#5F85BF #BF5FB5 #BF995F #5FBF69
square
#5F85BF #BF5FB5 #BF995F #5FBF69
split-complementary
#5F85BF #BF695F #B5BF5F
monochromatic
#2F4A75 #4066A1 #5F85BF #8BA6D0 #B6C8E2

Accessibility & contrast

On white

3.75
#5F85BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5F85BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85BF#FFFFFF#000000##000000
##5F85BF1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#33929A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f85bf;
/* rgb */ color: rgb(95, 133, 191);
/* oklch */ color: oklch(61.3% 0.098 258.6);
Tailwind
colors: {
  custom: {
    50: '#92a8d2',
    500: '#5f85bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f85bf;
$custom-light: #92a8d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85bf",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 191
  },
  "hsl": {
    "h": 216.25,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.09845,
    "h": 258.6
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F85BF

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

Preview Lab → · Contrast checker → · Palette generator →

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