#5985F2#5985F2

#5985F2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.9% C 0.170 H 265.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5985F2
RGBrgb(89, 133, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(63.2%, 45%, 0%, 5.1%)
CIE-LABlab(57.37, 18.51, -59.34)
CIE-LCHlch(57.37, 62.16, 287.32°)
OKLaboklab(63.9% -0.0138 -0.1696)
OKLCHoklch(63.9% 0.17 265.4)
XYZxyz(28.5288, 25.3071, 87.3685)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985F2 #F2C659
analogous
#59D2F2 #5985F2 #7959F2
triadic
#5985F2 #F25985 #85F259
tetradic
#5985F2 #F259D2 #F2C659 #59F279
square
#5985F2 #F259D2 #F2C659 #59F279
split-complementary
#5985F2 #F27959 #D2F259
monochromatic
#0F42C1 #205BEE #5985F2 #92AFF6 #CBD8FB

Accessibility & contrast

On white

3.46
#5985F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5985F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985F2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985F2#FFFFFF#000000##000000
##5985F21.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5985f2;
/* rgb */ color: rgb(89, 133, 242);
/* oklch */ color: oklch(63.9% 0.170 265.4);
Tailwind
colors: {
  custom: {
    50: '#96a8f7',
    500: '#5985f2',
    950: '#000000',
  },
}
SCSS
$custom: #5985f2;
$custom-light: #96a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5985f2",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 222.745,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.17014,
    "h": 265.4
  },
  "luminance": 0.2531
}

Semantic roles & 50–950 ramp

primary
#5985F2
secondary
#EDDEB9
accent
#A204E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5985F2

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

Preview Lab → · Contrast checker → · Palette generator →

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