#5985CF#5985CF

#5985CF is a mid, vivid blue. Relative luminance 0.234; OKLCH L 61.8% C 0.123 H 260.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5985CF
RGBrgb(89, 133, 207)
HSLhsl(218, 55%, 58%)
HSVhsv(218, 57%, 81%)
CMYKcmyk(57%, 35.7%, 0%, 18.8%)
CIE-LABlab(55.48, 6.88, -42.78)
CIE-LCHlch(55.48, 43.32, 279.13°)
OKLaboklab(61.82% -0.0207 -0.121)
OKLCHoklch(61.82% 0.123 260.3)
XYZxyz(23.7659, 23.4019, 62.2840)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985CF #CFA359
analogous
#59C0CF #5985CF #6859CF
triadic
#5985CF #CF5985 #85CF59
tetradic
#5985CF #CF59C0 #CFA359 #59CF68
square
#5985CF #CF59C0 #CFA359 #59CF68
split-complementary
#5985CF #CF6859 #C0CF59
monochromatic
#274B87 #3565B6 #5985CF #88A8DD #B8CBEA

Accessibility & contrast

On white

3.70
#5985CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5985CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985CF#FFFFFF#000000##000000
##5985CF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#5780CD
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5985cf;
/* rgb */ color: rgb(89, 133, 207);
/* oklch */ color: oklch(61.8% 0.123 260.3);
Tailwind
colors: {
  custom: {
    50: '#90a8de',
    500: '#5985cf',
    950: '#000000',
  },
}
SCSS
$custom: #5985cf;
$custom-light: #90a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5985cf",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 217.627,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.12279,
    "h": 260.3
  },
  "luminance": 0.23404
}

Semantic roles & 50–950 ramp

primary
#5985CF
secondary
#D9C8AA
accent
#A749DE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5985CF

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

Preview Lab → · Contrast checker → · Palette generator →

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