#5987F2#5987F2

#5987F2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.168 H 264.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5987F2
RGBrgb(89, 135, 242)
HSLhsl(222, 85%, 65%)
HSVhsv(222, 63%, 95%)
CMYKcmyk(63.2%, 44.2%, 0%, 5.1%)
CIE-LABlab(57.90, 17.30, -58.49)
CIE-LCHlch(57.90, 61.00, 286.48°)
OKLaboklab(64.3% -0.0157 -0.1671)
OKLCHoklch(64.3% 0.168 264.6)
XYZxyz(28.8052, 25.8599, 87.4606)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987F2 #F2C459
analogous
#59D3F2 #5987F2 #7859F2
triadic
#5987F2 #F25987 #87F259
tetradic
#5987F2 #F259D3 #F2C459 #59F278
square
#5987F2 #F259D3 #F2C459 #59F278
split-complementary
#5987F2 #F27859 #D3F259
monochromatic
#0F45C1 #205EEE #5987F2 #92B0F6 #CBD9FB

Accessibility & contrast

On white

3.40
#5987F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5987F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987F2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987F2#FFFFFF#000000##000000
##5987F21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#3A85F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5987f2;
/* rgb */ color: rgb(89, 135, 242);
/* oklch */ color: oklch(64.3% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#95a9f7',
    500: '#5987f2',
    950: '#000000',
  },
}
SCSS
$custom: #5987f2;
$custom-light: #95a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5987f2",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 221.961,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.1678,
    "h": 264.6
  },
  "luminance": 0.25863
}

Semantic roles & 50–950 ramp

primary
#5987F2
secondary
#EDDEB9
accent
#9F04E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5987F2

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

Preview Lab → · Contrast checker → · Palette generator →

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