#5985E7#5985E7

#5985E7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.2% C 0.155 H 264.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5985E7
RGBrgb(89, 133, 231)
HSLhsl(221, 75%, 63%)
HSVhsv(221, 61%, 91%)
CMYKcmyk(61.5%, 42.4%, 0%, 9.4%)
CIE-LABlab(56.75, 14.81, -54.23)
CIE-LCHlch(56.75, 56.22, 285.28°)
OKLaboklab(63.21% -0.0156 -0.1546)
OKLCHoklch(63.21% 0.155 264.2)
XYZxyz(26.9262, 24.6660, 78.9279)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985E7 #E7BB59
analogous
#59CCE7 #5985E7 #7459E7
triadic
#5985E7 #E75985 #85E759
tetradic
#5985E7 #E759CC #E7BB59 #59E774
square
#5985E7 #E759CC #E7BB59 #59E774
split-complementary
#5985E7 #E77459 #CCE759
monochromatic
#1947AD #245EDF #5985E7 #8EACEF #C4D4F6

Accessibility & contrast

On white

3.54
#5985E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5985E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985E7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985E7#FFFFFF#000000##000000
##5985E71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5985e7;
/* rgb */ color: rgb(89, 133, 231);
/* oklch */ color: oklch(63.2% 0.155 264.2);
Tailwind
colors: {
  custom: {
    50: '#94a8ef',
    500: '#5985e7',
    950: '#000000',
  },
}
SCSS
$custom: #5985e7;
$custom-light: #94a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5985e7",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 221.408,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.15536,
    "h": 264.2
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#5985E7
secondary
#E8D8B4
accent
#990FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5985E7

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

Preview Lab → · Contrast checker → · Palette generator →

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