#587CEB#587CEB

#587CEB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.172 H 267.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#587CEB
RGBrgb(88, 124, 235)
HSLhsl(225, 79%, 63%)
HSVhsv(225, 63%, 92%)
CMYKcmyk(62.6%, 47.2%, 0%, 7.8%)
CIE-LABlab(54.54, 21.45, -60.00)
CIE-LCHlch(54.54, 63.72, 289.67°)
OKLaboklab(61.58% -0.0071 -0.1717)
OKLCHoklch(61.58% 0.172 267.6)
XYZxyz(26.2224, 22.4858, 81.5395)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587CEB #EBC758
analogous
#58C5EB #587CEB #7D58EB
triadic
#587CEB #EB587C #7CEB58
tetradic
#587CEB #EB58C5 #EBC758 #58EB7D
square
#587CEB #EB58C5 #EBC758 #58EB7D
split-complementary
#587CEB #EB7D58 #C5EB58
monochromatic
#153CB3 #2151E4 #587CEB #8FA7F2 #C5D2F8

Accessibility & contrast

On white

3.82
#587CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#587CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587CEB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587CEB#FFFFFF#000000##000000
##587CEB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #587ceb;
/* rgb */ color: rgb(88, 124, 235);
/* oklch */ color: oklch(61.6% 0.172 267.6);
Tailwind
colors: {
  custom: {
    50: '#94a1f2',
    500: '#587ceb',
    950: '#000000',
  },
}
SCSS
$custom: #587ceb;
$custom-light: #94a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#587ceb",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 225.306,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.17181,
    "h": 267.6
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#587CEB
secondary
#EADDB5
accent
#A80BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #587CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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