#5985FD#5985FD

#5985FD is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.6% C 0.185 H 266.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5985FD
RGBrgb(89, 133, 253)
HSLhsl(224, 98%, 67%)
HSVhsv(224, 65%, 99%)
CMYKcmyk(64.8%, 47.4%, 0%, 0.8%)
CIE-LABlab(58.03, 22.23, -64.37)
CIE-LCHlch(58.03, 68.10, 289.05°)
OKLaboklab(64.6% -0.0122 -0.1844)
OKLCHoklch(64.6% 0.185 266.2)
XYZxyz(30.2308, 25.9879, 96.3325)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985FD #FDD159
analogous
#59D7FD #5985FD #7F59FD
triadic
#5985FD #FD5985 #85FD59
tetradic
#5985FD #FD59D7 #FDD159 #59FD7F
square
#5985FD #FD59D7 #FDD159 #59FD7F
split-complementary
#5985FD #FD7F59 #D7FD59
monochromatic
#033CD9 #1D59FC #5985FD #95B1FE #D2DEFE

Accessibility & contrast

On white

3.39
#5985FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5985FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985FD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985FD#FFFFFF#000000##000000
##5985FD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#2084FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5985fd;
/* rgb */ color: rgb(89, 133, 253);
/* oklch */ color: oklch(64.6% 0.185 266.2);
Tailwind
colors: {
  custom: {
    50: '#97a8ff',
    500: '#5985fd',
    950: '#000000',
  },
}
SCSS
$custom: #5985fd;
$custom-light: #97a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5985fd",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 223.902,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64603,
    "c": 0.18477,
    "h": 266.2
  },
  "luminance": 0.25991
}

Semantic roles & 50–950 ramp

primary
#5985FD
secondary
#F3E5BF
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5985FD

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

Preview Lab → · Contrast checker → · Palette generator →

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