#5985CB#5985CB

#5985CB is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.6% C 0.117 H 259.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5985CB
RGBrgb(89, 133, 203)
HSLhsl(217, 52%, 57%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(56.2%, 34.5%, 0%, 20.4%)
CIE-LABlab(55.29, 5.58, -40.82)
CIE-LCHlch(55.29, 41.20, 277.78°)
OKLaboklab(61.61% -0.0217 -0.1153)
OKLCHoklch(61.61% 0.117 259.3)
XYZxyz(23.2831, 23.2088, 59.7411)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985CB #CB9F59
analogous
#59BECB #5985CB #6659CB
triadic
#5985CB #CB5985 #85CB59
tetradic
#5985CB #CB59BE #CB9F59 #59CB66
square
#5985CB #CB59BE #CB9F59 #59CB66
split-complementary
#5985CB #CB6659 #BECB59
monochromatic
#284B81 #3766B0 #5985CB #88A7DA #B6C9E8

Accessibility & contrast

On white

3.72
#5985CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5985CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985CB#FFFFFF#000000##000000
##5985CB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#02959E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5985cb;
/* rgb */ color: rgb(89, 133, 203);
/* oklch */ color: oklch(61.6% 0.117 259.3);
Tailwind
colors: {
  custom: {
    50: '#90a8db',
    500: '#5985cb',
    950: '#000000',
  },
}
SCSS
$custom: #5985cb;
$custom-light: #90a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5985cb",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 216.842,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.11736,
    "h": 259.3
  },
  "luminance": 0.23211
}

Semantic roles & 50–950 ramp

primary
#5985CB
secondary
#D7C5A9
accent
#A44CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5985CB

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

Preview Lab → · Contrast checker → · Palette generator →

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