#5F85CB#5F85CB

#5F85CB is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.9% C 0.115 H 261.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F85CB
RGBrgb(95, 133, 203)
HSLhsl(219, 51%, 58%)
HSVhsv(219, 53%, 80%)
CMYKcmyk(53.2%, 34.5%, 0%, 20.4%)
CIE-LABlab(55.60, 6.88, -40.31)
CIE-LCHlch(55.60, 40.89, 279.69°)
OKLaboklab(61.93% -0.0162 -0.1137)
OKLCHoklch(61.93% 0.115 261.9)
XYZxyz(23.8827, 23.5180, 59.7692)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85CB #CBA55F
analogous
#5FBBCB #5F85CB #6F5FCB
triadic
#5F85CB #CB5F85 #85CB5F
tetradic
#5F85CB #CB5FBB #CBA55F #5FCB6F
square
#5F85CB #CB5FBB #CBA55F #5FCB6F
split-complementary
#5F85CB #CB6F5F #BBCB5F
monochromatic
#2B4B85 #3A65B3 #5F85CB #8DA8DA #BBCBE9

Accessibility & contrast

On white

3.68
#5F85CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5F85CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85CB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85CB#FFFFFF#000000##000000
##5F85CB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#5C81C9
Tritanopia (blue-blind)
#25949E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f85cb;
/* rgb */ color: rgb(95, 133, 203);
/* oklch */ color: oklch(61.9% 0.115 261.9);
Tailwind
colors: {
  custom: {
    50: '#93a8db',
    500: '#5f85cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f85cb;
$custom-light: #93a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85cb",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 218.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.11488,
    "h": 261.9
  },
  "luminance": 0.2352
}

Semantic roles & 50–950 ramp

primary
#5F85CB
secondary
#D8C9AD
accent
#A94DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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