#5984F6#5984F6

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

Color values

HEX#5984F6
RGBrgb(89, 132, 246)
HSLhsl(224, 90%, 66%)
HSVhsv(224, 64%, 96%)
CMYKcmyk(63.8%, 46.3%, 0%, 3.5%)
CIE-LABlab(57.34, 20.47, -61.60)
CIE-LCHlch(57.34, 64.91, 288.38°)
OKLaboklab(63.95% -0.0122 -0.1762)
OKLCHoklch(63.95% 0.177 266)
XYZxyz(28.9999, 25.2775, 90.5217)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984F6 #F6CB59
analogous
#59D2F6 #5984F6 #7C59F6
triadic
#5984F6 #F65984 #84F659
tetradic
#5984F6 #F659D2 #F6CB59 #59F67C
square
#5984F6 #F659D2 #F6CB59 #59F67C
split-complementary
#5984F6 #F67C59 #D2F659
monochromatic
#0B3FCA #1F59F3 #5984F6 #93AFF9 #CDDAFC

Accessibility & contrast

On white

3.47
#5984F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5984F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984F6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984F6#FFFFFF#000000##000000
##5984F61.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#2C83F4
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5984f6;
/* rgb */ color: rgb(89, 132, 246);
/* oklch */ color: oklch(63.9% 0.177 266.0);
Tailwind
colors: {
  custom: {
    50: '#96a7fa',
    500: '#5984f6',
    950: '#000000',
  },
}
SCSS
$custom: #5984f6;
$custom-light: #96a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5984f6",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 223.567,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63949,
    "c": 0.17667,
    "h": 266
  },
  "luminance": 0.2528
}

Semantic roles & 50–950 ramp

primary
#5984F6
secondary
#F0E1BB
accent
#A700E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5984F6

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

Preview Lab → · Contrast checker → · Palette generator →

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