#5985C8#5985C8

#5985C8 is a mid, moderate blue. Relative luminance 0.231; OKLCH L 61.4% C 0.113 H 258.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5985C8
RGBrgb(89, 133, 200)
HSLhsl(216, 50%, 57%)
HSVhsv(216, 56%, 78%)
CMYKcmyk(55.5%, 33.5%, 0%, 21.6%)
CIE-LABlab(55.14, 4.61, -39.35)
CIE-LCHlch(55.14, 39.62, 276.69°)
OKLaboklab(61.44% -0.0225 -0.111)
OKLCHoklch(61.44% 0.113 258.6)
XYZxyz(22.9291, 23.0672, 57.8765)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985C8 #C89C59
analogous
#59BDC8 #5985C8 #6559C8
triadic
#5985C8 #C85985 #85C859
tetradic
#5985C8 #C859BD #C89C59 #59C865
square
#5985C8 #C859BD #C89C59 #59C865
split-complementary
#5985C8 #C86559 #BDC859
monochromatic
#294B7D #3966AB #5985C8 #87A7D7 #B5C9E6

Accessibility & contrast

On white

3.74
#5985C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5985C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985C8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985C8#FFFFFF#000000##000000
##5985C81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#5C7FC7
Tritanopia (blue-blind)
#0D949D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5985c8;
/* rgb */ color: rgb(89, 133, 200);
/* oklch */ color: oklch(61.4% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#8fa8d9',
    500: '#5985c8',
    950: '#000000',
  },
}
SCSS
$custom: #5985c8;
$custom-light: #8fa8d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5985c8",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 200
  },
  "hsl": {
    "h": 216.216,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.1133,
    "h": 258.6
  },
  "luminance": 0.23069
}

Semantic roles & 50–950 ramp

primary
#5985C8
secondary
#D5C3A8
accent
#A24EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5985C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5985C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva