#587EC2#587EC2

#587EC2 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.5% C 0.113 H 261.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#587EC2
RGBrgb(88, 126, 194)
HSLhsl(218, 46%, 55%)
HSVhsv(218, 55%, 76%)
CMYKcmyk(54.6%, 35.1%, 0%, 23.9%)
CIE-LABlab(52.83, 6.65, -39.58)
CIE-LCHlch(52.83, 40.14, 279.53°)
OKLaboklab(59.53% -0.0169 -0.1118)
OKLCHoklch(59.53% 0.113 261.4)
XYZxyz(21.2196, 20.8898, 53.9424)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587EC2 #C29C58
analogous
#58B3C2 #587EC2 #6758C2
triadic
#587EC2 #C2587E #7EC258
tetradic
#587EC2 #C258B3 #C29C58 #58C267
square
#587EC2 #C258B3 #C29C58 #58C267
split-complementary
#587EC2 #C26758 #B3C258
monochromatic
#2B4575 #3B60A2 #587EC2 #85A1D2 #B2C3E3

Accessibility & contrast

On white

4.06
#587EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#587EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587EC2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587EC2#FFFFFF#000000##000000
##587EC21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C5
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#1A8D97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #587ec2;
/* rgb */ color: rgb(88, 126, 194);
/* oklch */ color: oklch(59.5% 0.113 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ea3d5',
    500: '#587ec2',
    950: '#000000',
  },
}
SCSS
$custom: #587ec2;
$custom-light: #8ea3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#587ec2",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 218.491,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.11308,
    "h": 261.4
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#587EC2
secondary
#D1C1A5
accent
#A752D6
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #587EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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