#5F85CC#5F85CC

#5F85CC is a mid, moderate blue. Relative luminance 0.236; OKLCH L 62.0% C 0.116 H 262.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F85CC
RGBrgb(95, 133, 204)
HSLhsl(219, 52%, 59%)
HSVhsv(219, 53%, 80%)
CMYKcmyk(53.4%, 34.8%, 0%, 20%)
CIE-LABlab(55.65, 7.20, -40.80)
CIE-LCHlch(55.65, 41.43, 280.01°)
OKLaboklab(61.99% -0.0159 -0.1152)
OKLCHoklch(61.99% 0.116 262.1)
XYZxyz(24.0022, 23.5658, 60.3989)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85CC #CCA65F
analogous
#5FBBCC #5F85CC #6F5FCC
triadic
#5F85CC #CC5F85 #85CC5F
tetradic
#5F85CC #CC5FBB #CCA65F #5FCC6F
square
#5F85CC #CC5FBB #CCA65F #5FCC6F
split-complementary
#5F85CC #CC6F5F #BBCC5F
monochromatic
#2B4A86 #3964B4 #5F85CC #8DA8DB #BCCCEA

Accessibility & contrast

On white

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

On black

5.71
#5F85CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85CC#FFFFFF#000000##000000
##5F85CC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#24959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f85cc;
/* rgb */ color: rgb(95, 133, 204);
/* oklch */ color: oklch(62.0% 0.116 262.1);
Tailwind
colors: {
  custom: {
    50: '#93a8dc',
    500: '#5f85cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f85cc;
$custom-light: #93a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85cc",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 219.083,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.11626,
    "h": 262.1
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#5F85CC
secondary
#D9CAAE
accent
#A94DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F85CC

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

Preview Lab → · Contrast checker → · Palette generator →

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