#5984F7#5984F7

#5984F7 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.0% C 0.178 H 266.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5984F7
RGBrgb(89, 132, 247)
HSLhsl(224, 91%, 66%)
HSVhsv(224, 64%, 97%)
CMYKcmyk(64%, 46.6%, 0%, 3.1%)
CIE-LABlab(57.40, 20.80, -62.06)
CIE-LCHlch(57.40, 65.45, 288.53°)
OKLaboklab(64.01% -0.0121 -0.1776)
OKLCHoklch(64.01% 0.178 266.1)
XYZxyz(29.1538, 25.3391, 91.3322)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984F7 #F7CC59
analogous
#59D3F7 #5984F7 #7D59F7
triadic
#5984F7 #F75984 #84F759
tetradic
#5984F7 #F759D3 #F7CC59 #59F77D
square
#5984F7 #F759D3 #F7CC59 #59F77D
split-complementary
#5984F7 #F77D59 #D3F759
monochromatic
#0A3FCC #1F59F4 #5984F7 #93AFFA #CEDBFD

Accessibility & contrast

On white

3.46
#5984F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5984F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984F7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984F7#FFFFFF#000000##000000
##5984F71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#2A83F5
Tritanopia (blue-blind)
#009EB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5984f7;
/* rgb */ color: rgb(89, 132, 247);
/* oklch */ color: oklch(64.0% 0.178 266.1);
Tailwind
colors: {
  custom: {
    50: '#96a7fa',
    500: '#5984f7',
    950: '#000000',
  },
}
SCSS
$custom: #5984f7;
$custom-light: #96a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5984f7",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 223.671,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64013,
    "c": 0.17799,
    "h": 266.1
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#5984F7
secondary
#F0E2BC
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5984F7

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

Preview Lab → · Contrast checker → · Palette generator →

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