#587AC5#587AC5

#587AC5 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.122 H 264.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#587AC5
RGBrgb(88, 122, 197)
HSLhsl(221, 48%, 56%)
HSVhsv(221, 55%, 77%)
CMYKcmyk(55.3%, 38.1%, 0%, 22.7%)
CIE-LABlab(51.86, 10.04, -42.82)
CIE-LCHlch(51.86, 43.98, 283.19°)
OKLaboklab(58.84% -0.0116 -0.1213)
OKLCHoklch(58.84% 0.122 264.5)
XYZxyz(21.0587, 20.0234, 55.5677)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587AC5 #C5A358
analogous
#58B0C5 #587AC5 #6C58C5
triadic
#587AC5 #C5587A #7AC558
tetradic
#587AC5 #C558B0 #C5A358 #58C56C
square
#587AC5 #C558B0 #C5A358 #58C56C
split-complementary
#587AC5 #C56C58 #B0C558
monochromatic
#2A4279 #3A5CA6 #587AC5 #859ED5 #B3C2E5

Accessibility & contrast

On white

4.20
#587AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#587AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587AC5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587AC5#FFFFFF#000000##000000
##587AC51.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4E77C3
Tritanopia (blue-blind)
#168A96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #587ac5;
/* rgb */ color: rgb(88, 122, 197);
/* oklch */ color: oklch(58.8% 0.122 264.5);
Tailwind
colors: {
  custom: {
    50: '#8fa0d7',
    500: '#587ac5',
    950: '#000000',
  },
}
SCSS
$custom: #587ac5;
$custom-light: #8fa0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#587ac5",
  "rgb": {
    "r": 88,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 221.284,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.12184,
    "h": 264.5
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#587AC5
secondary
#D3C5A6
accent
#AE50D8
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #587AC5

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

Preview Lab → · Contrast checker → · Palette generator →

#587AC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva