#587EC5#587EC5

#587EC5 is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.7% C 0.117 H 262.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#587EC5
RGBrgb(88, 126, 197)
HSLhsl(219, 48%, 56%)
HSVhsv(219, 55%, 77%)
CMYKcmyk(55.3%, 36%, 0%, 22.7%)
CIE-LABlab(52.98, 7.62, -41.06)
CIE-LCHlch(52.98, 41.76, 280.51°)
OKLaboklab(59.7% -0.0162 -0.1161)
OKLCHoklch(59.7% 0.117 262.1)
XYZxyz(21.5600, 21.0260, 55.7348)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587EC5 #C59F58
analogous
#58B4C5 #587EC5 #6858C5
triadic
#587EC5 #C5587E #7EC558
tetradic
#587EC5 #C558B4 #C59F58 #58C568
square
#587EC5 #C558B4 #C59F58 #58C568
split-complementary
#587EC5 #C56858 #B4C558
monochromatic
#2A4579 #3A5FA6 #587EC5 #85A1D5 #B3C4E5

Accessibility & contrast

On white

4.03
#587EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#587EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587EC5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587EC5#FFFFFF#000000##000000
##587EC51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184C8
Deuteranopia (green-blind)
#547AC3
Tritanopia (blue-blind)
#138E98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #587ec5;
/* rgb */ color: rgb(88, 126, 197);
/* oklch */ color: oklch(59.7% 0.117 262.1);
Tailwind
colors: {
  custom: {
    50: '#8fa3d7',
    500: '#587ec5',
    950: '#000000',
  },
}
SCSS
$custom: #587ec5;
$custom-light: #8fa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#587ec5",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 219.083,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.11722,
    "h": 262.1
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#587EC5
secondary
#D3C3A6
accent
#A950D8
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #587EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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