#5985E9#5985E9

#5985E9 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.158 H 264.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5985E9
RGBrgb(89, 133, 233)
HSLhsl(222, 77%, 63%)
HSVhsv(222, 62%, 91%)
CMYKcmyk(61.8%, 42.9%, 0%, 8.6%)
CIE-LABlab(56.86, 15.48, -55.17)
CIE-LCHlch(56.86, 57.30, 285.68°)
OKLaboklab(63.33% -0.0153 -0.1573)
OKLCHoklch(63.33% 0.158 264.5)
XYZxyz(27.2102, 24.7797, 80.4240)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985E9 #E9BD59
analogous
#59CDE9 #5985E9 #7559E9
triadic
#5985E9 #E95985 #85E959
tetradic
#5985E9 #E959CD #E9BD59 #59E975
square
#5985E9 #E959CD #E9BD59 #59E975
split-complementary
#5985E9 #E97559 #CDE959
monochromatic
#1746B0 #235DE2 #5985E9 #8FADF0 #C5D4F7

Accessibility & contrast

On white

3.53
#5985E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5985E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985E9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985E9#FFFFFF#000000##000000
##5985E91.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FED
Deuteranopia (green-blind)
#4182E7
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5985e9;
/* rgb */ color: rgb(89, 133, 233);
/* oklch */ color: oklch(63.3% 0.158 264.5);
Tailwind
colors: {
  custom: {
    50: '#94a8f0',
    500: '#5985e9',
    950: '#000000',
  },
}
SCSS
$custom: #5985e9;
$custom-light: #94a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5985e9",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 233
  },
  "hsl": {
    "h": 221.667,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.15806,
    "h": 264.5
  },
  "luminance": 0.24782
}

Semantic roles & 50–950 ramp

primary
#5985E9
secondary
#E9D9B5
accent
#9A0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5985E9

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

Preview Lab → · Contrast checker → · Palette generator →

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