#587EF7#587EF7

#587EF7 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.185 H 267.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#587EF7
RGBrgb(88, 126, 247)
HSLhsl(226, 91%, 66%)
HSVhsv(226, 64%, 97%)
CMYKcmyk(64.4%, 49%, 0%, 3.1%)
CIE-LABlab(55.80, 24.29, -64.65)
CIE-LCHlch(55.80, 69.06, 290.59°)
OKLaboklab(62.77% -0.0075 -0.1853)
OKLCHoklch(62.77% 0.185 267.7)
XYZxyz(28.2681, 23.7092, 91.0643)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587EF7 #F7D158
analogous
#58CEF7 #587EF7 #8158F7
triadic
#587EF7 #F7587E #7EF758
tetradic
#587EF7 #F758CE #F7D158 #58F781
square
#587EF7 #F758CE #F7D158 #58F781
split-complementary
#587EF7 #F78158 #CEF758
monochromatic
#0A38CB #1E51F4 #587EF7 #92ABFA #CDD8FD

Accessibility & contrast

On white

3.66
#587EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#587EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587EF7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587EF7#FFFFFF#000000##000000
##587EF71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#0B7FF5
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #587ef7;
/* rgb */ color: rgb(88, 126, 247);
/* oklch */ color: oklch(62.8% 0.185 267.7);
Tailwind
colors: {
  custom: {
    50: '#96a2fb',
    500: '#587ef7',
    950: '#000000',
  },
}
SCSS
$custom: #587ef7;
$custom-light: #96a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#587ef7",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 225.66,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.18545,
    "h": 267.7
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

primary
#587EF7
secondary
#F0E3BB
accent
#AF00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #587EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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