#587DB2#587DB2

#587DB2 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.5% C 0.092 H 257.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#587DB2
RGBrgb(88, 125, 178)
HSLhsl(215, 37%, 52%)
HSVhsv(215, 51%, 70%)
CMYKcmyk(50.6%, 29.8%, 0%, 30.2%)
CIE-LABlab(51.79, 2.17, -32.04)
CIE-LCHlch(51.79, 32.11, 273.87°)
OKLaboklab(58.47% -0.0201 -0.0899)
OKLCHoklch(58.47% 0.092 257.4)
XYZxyz(19.3913, 19.9549, 44.9407)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587DB2 #B28D58
analogous
#58AAB2 #587DB2 #6058B2
triadic
#587DB2 #B2587D #7DB258
tetradic
#587DB2 #B258AA #B28D58 #58B260
square
#587DB2 #B258AA #B28D58 #58B260
split-complementary
#587DB2 #B26058 #AAB258
monochromatic
#2D4362 #41608C #587DB2 #829EC5 #ACBED9

Accessibility & contrast

On white

4.21
#587DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#587DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587DB2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587DB2#FFFFFF#000000##000000
##587DB21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B4
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#2E8990
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #587db2;
/* rgb */ color: rgb(88, 125, 178);
/* oklch */ color: oklch(58.5% 0.092 257.4);
Tailwind
colors: {
  custom: {
    50: '#8ca2c9',
    500: '#587db2',
    950: '#000000',
  },
}
SCSS
$custom: #587db2;
$custom-light: #8ca2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#587db2",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 215.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.09212,
    "h": 257.4
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#587DB2
secondary
#C7B69F
accent
#9E5BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #587DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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