#5985F9#5985F9

#5985F9 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.3% C 0.179 H 265.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5985F9
RGBrgb(89, 133, 249)
HSLhsl(224, 93%, 66%)
HSVhsv(224, 64%, 98%)
CMYKcmyk(64.3%, 46.6%, 0%, 2.4%)
CIE-LABlab(57.79, 20.87, -62.55)
CIE-LCHlch(57.79, 65.94, 288.45°)
OKLaboklab(64.34% -0.0128 -0.179)
OKLCHoklch(64.34% 0.179 265.9)
XYZxyz(29.6003, 25.7357, 93.0117)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985F9 #F9CD59
analogous
#59D5F9 #5985F9 #7D59F9
triadic
#5985F9 #F95985 #85F959
tetradic
#5985F9 #F959D5 #F9CD59 #59F97D
square
#5985F9 #F959D5 #F9CD59 #59F97D
split-complementary
#5985F9 #F97D59 #D5F959
monochromatic
#083FD0 #1E5AF7 #5985F9 #94B0FB #CFDCFD

Accessibility & contrast

On white

3.42
#5985F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5985F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985F9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985F9#FFFFFF#000000##000000
##5985F91.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FD
Deuteranopia (green-blind)
#2984F7
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5985f9;
/* rgb */ color: rgb(89, 133, 249);
/* oklch */ color: oklch(64.3% 0.179 265.9);
Tailwind
colors: {
  custom: {
    50: '#97a8fc',
    500: '#5985f9',
    950: '#000000',
  },
}
SCSS
$custom: #5985f9;
$custom-light: #97a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5985f9",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 223.5,
    "s": 93.023,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64343,
    "c": 0.17947,
    "h": 265.9
  },
  "luminance": 0.25738
}

Semantic roles & 50–950 ramp

primary
#5985F9
secondary
#F1E3BD
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5985F9

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

Preview Lab → · Contrast checker → · Palette generator →

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