#587EF2#587EF2

#587EF2 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.179 H 267.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#587EF2
RGBrgb(88, 126, 242)
HSLhsl(225, 86%, 65%)
HSVhsv(225, 64%, 95%)
CMYKcmyk(63.6%, 47.9%, 0%, 5.1%)
CIE-LABlab(55.49, 22.60, -62.37)
CIE-LCHlch(55.49, 66.34, 289.91°)
OKLaboklab(62.44% -0.0081 -0.1786)
OKLCHoklch(62.44% 0.179 267.4)
XYZxyz(27.5069, 23.4047, 87.0552)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587EF2 #F2CC58
analogous
#58CBF2 #587EF2 #7F58F2
triadic
#587EF2 #F2587E #7EF258
tetradic
#587EF2 #F258CB #F2CC58 #58F27F
square
#587EF2 #F258CB #F2CC58 #58F27F
split-complementary
#587EF2 #F27F58 #CBF258
monochromatic
#0F3BC1 #1F52EE #587EF2 #91AAF6 #CAD6FB

Accessibility & contrast

On white

3.70
#587EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#587EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587EF2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587EF2#FFFFFF#000000##000000
##587EF21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#1E7EF0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #587ef2;
/* rgb */ color: rgb(88, 126, 242);
/* oklch */ color: oklch(62.4% 0.179 267.4);
Tailwind
colors: {
  custom: {
    50: '#95a2f7',
    500: '#587ef2',
    950: '#000000',
  },
}
SCSS
$custom: #587ef2;
$custom-light: #95a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#587ef2",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 225.195,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.17879,
    "h": 267.4
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#587EF2
secondary
#EDE0B8
accent
#AB03E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #587EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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