#5F85CF#5F85CF

#5F85CF is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.2% C 0.120 H 262.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5F85CF
RGBrgb(95, 133, 207)
HSLhsl(220, 54%, 59%)
HSVhsv(220, 54%, 81%)
CMYKcmyk(54.1%, 35.7%, 0%, 18.8%)
CIE-LABlab(55.80, 8.15, -42.26)
CIE-LCHlch(55.80, 43.04, 280.92°)
OKLaboklab(62.15% -0.0152 -0.1194)
OKLCHoklch(62.15% 0.12 262.7)
XYZxyz(24.3655, 23.7111, 62.3121)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85CF #CFA95F
analogous
#5FBDCF #5F85CF #715FCF
triadic
#5F85CF #CF5F85 #85CF5F
tetradic
#5F85CF #CF5FBD #CFA95F #5FCF71
square
#5F85CF #CF5FBD #CFA95F #5FCF71
split-complementary
#5F85CF #CF715F #BDCF5F
monochromatic
#294A8A #3864B9 #5F85CF #8EA9DD #BDCDEB

Accessibility & contrast

On white

3.66
#5F85CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5F85CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85CF#FFFFFF#000000##000000
##5F85CF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#2095A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f85cf;
/* rgb */ color: rgb(95, 133, 207);
/* oklch */ color: oklch(62.2% 0.120 262.7);
Tailwind
colors: {
  custom: {
    50: '#94a8de',
    500: '#5f85cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f85cf;
$custom-light: #94a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85cf",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 219.643,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6215,
    "c": 0.12038,
    "h": 262.7
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#5F85CF
secondary
#DBCCAF
accent
#AB4BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F85CF

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

Preview Lab → · Contrast checker → · Palette generator →

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