#5985F7#5985F7

#5985F7 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.177 H 265.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5985F7
RGBrgb(89, 133, 247)
HSLhsl(223, 91%, 66%)
HSVhsv(223, 64%, 97%)
CMYKcmyk(64%, 46.2%, 0%, 3.1%)
CIE-LABlab(57.67, 20.20, -61.64)
CIE-LCHlch(57.67, 64.86, 288.14°)
OKLaboklab(64.21% -0.013 -0.1763)
OKLCHoklch(64.21% 0.177 265.8)
XYZxyz(29.2900, 25.6116, 91.3776)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985F7 #F7CB59
analogous
#59D4F7 #5985F7 #7C59F7
triadic
#5985F7 #F75985 #85F759
tetradic
#5985F7 #F759D4 #F7CB59 #59F77C
square
#5985F7 #F759D4 #F7CB59 #59F77C
split-complementary
#5985F7 #F77C59 #D4F759
monochromatic
#0A40CC #1F5AF4 #5985F7 #93B0FA #CEDBFD

Accessibility & contrast

On white

3.43
#5985F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5985F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985F7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985F7#FFFFFF#000000##000000
##5985F71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#2D84F5
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5985f7;
/* rgb */ color: rgb(89, 133, 247);
/* oklch */ color: oklch(64.2% 0.177 265.8);
Tailwind
colors: {
  custom: {
    50: '#96a8fa',
    500: '#5985f7',
    950: '#000000',
  },
}
SCSS
$custom: #5985f7;
$custom-light: #96a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5985f7",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 223.291,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64214,
    "c": 0.17681,
    "h": 265.8
  },
  "luminance": 0.25614
}

Semantic roles & 50–950 ramp

primary
#5985F7
secondary
#F0E1BC
accent
#A600E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5985F7

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

Preview Lab → · Contrast checker → · Palette generator →

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