#5985F4#5985F4

#5985F4 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.0% C 0.173 H 265.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5985F4
RGBrgb(89, 133, 244)
HSLhsl(223, 88%, 65%)
HSVhsv(223, 64%, 96%)
CMYKcmyk(63.5%, 45.5%, 0%, 4.3%)
CIE-LABlab(57.49, 19.18, -60.26)
CIE-LCHlch(57.49, 63.24, 287.66°)
OKLaboklab(64.02% -0.0135 -0.1723)
OKLCHoklch(64.02% 0.173 265.5)
XYZxyz(28.8308, 25.4279, 88.9591)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985F4 #F4C859
analogous
#59D2F4 #5985F4 #7B59F4
triadic
#5985F4 #F45985 #85F459
tetradic
#5985F4 #F459D2 #F4C859 #59F47B
square
#5985F4 #F459D2 #F4C859 #59F47B
split-complementary
#5985F4 #F47B59 #D2F459
monochromatic
#0D41C6 #205BF0 #5985F4 #92AFF8 #CCD9FC

Accessibility & contrast

On white

3.45
#5985F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5985F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985F4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985F4#FFFFFF#000000##000000
##5985F41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F8
Deuteranopia (green-blind)
#3283F2
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5985f4;
/* rgb */ color: rgb(89, 133, 244);
/* oklch */ color: oklch(64.0% 0.173 265.5);
Tailwind
colors: {
  custom: {
    50: '#96a8f8',
    500: '#5985f4',
    950: '#000000',
  },
}
SCSS
$custom: #5985f4;
$custom-light: #96a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5985f4",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 222.968,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64022,
    "c": 0.17282,
    "h": 265.5
  },
  "luminance": 0.25431
}

Semantic roles & 50–950 ramp

primary
#5985F4
secondary
#EFE0BA
accent
#A401E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5985F4

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

Preview Lab → · Contrast checker → · Palette generator →

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