#5984F2#5984F2

#5984F2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.7% C 0.171 H 265.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5984F2
RGBrgb(89, 132, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(63.2%, 45.5%, 0%, 5.1%)
CIE-LABlab(57.11, 19.11, -59.77)
CIE-LCHlch(57.11, 62.75, 287.74°)
OKLaboklab(63.69% -0.0128 -0.1708)
OKLCHoklch(63.69% 0.171 265.7)
XYZxyz(28.3926, 25.0346, 87.3231)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984F2 #F2C759
analogous
#59D1F2 #5984F2 #7A59F2
triadic
#5984F2 #F25984 #84F259
tetradic
#5984F2 #F259D1 #F2C759 #59F27A
square
#5984F2 #F259D1 #F2C759 #59F27A
split-complementary
#5984F2 #F27A59 #D1F259
monochromatic
#0F41C1 #205AEE #5984F2 #92AEF6 #CBD8FB

Accessibility & contrast

On white

3.50
#5984F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5984F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984F2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984F2#FFFFFF#000000##000000
##5984F21.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#3383F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5984f2;
/* rgb */ color: rgb(89, 132, 242);
/* oklch */ color: oklch(63.7% 0.171 265.7);
Tailwind
colors: {
  custom: {
    50: '#96a7f7',
    500: '#5984f2',
    950: '#000000',
  },
}
SCSS
$custom: #5984f2;
$custom-light: #96a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5984f2",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 223.137,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.17132,
    "h": 265.7
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#5984F2
secondary
#EDDFB9
accent
#A304E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5984F2

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

Preview Lab → · Contrast checker → · Palette generator →

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