#587AC7#587AC7

#587AC7 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.125 H 264.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#587AC7
RGBrgb(88, 122, 199)
HSLhsl(222, 50%, 56%)
HSVhsv(222, 56%, 78%)
CMYKcmyk(55.8%, 38.7%, 0%, 22%)
CIE-LABlab(51.97, 10.69, -43.80)
CIE-LCHlch(51.97, 45.08, 283.72°)
OKLaboklab(58.95% -0.0112 -0.1241)
OKLCHoklch(58.95% 0.125 264.8)
XYZxyz(21.2894, 20.1156, 56.7826)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587AC7 #C7A558
analogous
#58B2C7 #587AC7 #6E58C7
triadic
#587AC7 #C7587A #7AC758
tetradic
#587AC7 #C758B2 #C7A558 #58C76E
square
#587AC7 #C758B2 #C7A558 #58C76E
split-complementary
#587AC7 #C76E58 #B2C758
monochromatic
#29427B #395BA9 #587AC7 #869FD6 #B4C3E6

Accessibility & contrast

On white

4.18
#587AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#587AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587AC7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587AC7#FFFFFF#000000##000000
##587AC71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#118B97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #587ac7;
/* rgb */ color: rgb(88, 122, 199);
/* oklch */ color: oklch(58.9% 0.125 264.8);
Tailwind
colors: {
  custom: {
    50: '#8fa0d8',
    500: '#587ac7',
    950: '#000000',
  },
}
SCSS
$custom: #587ac7;
$custom-light: #8fa0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#587ac7",
  "rgb": {
    "r": 88,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 221.622,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.12463,
    "h": 264.8
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#587AC7
secondary
#D4C6A7
accent
#AF4FD9
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #587AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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