#587AF2#587AF2

#587AF2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.184 H 268.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#587AF2
RGBrgb(88, 122, 242)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 64%, 95%)
CMYKcmyk(63.6%, 49.6%, 0%, 5.1%)
CIE-LABlab(54.45, 25.04, -64.04)
CIE-LCHlch(54.45, 68.76, 291.35°)
OKLaboklab(61.65% -0.0044 -0.1836)
OKLCHoklch(61.65% 0.184 268.6)
XYZxyz(27.0056, 22.4021, 86.8881)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587AF2 #F2D058
analogous
#58C7F2 #587AF2 #8358F2
triadic
#587AF2 #F2587A #7AF258
tetradic
#587AF2 #F258C7 #F2D058 #58F283
square
#587AF2 #F258C7 #F2D058 #58F283
split-complementary
#587AF2 #F28358 #C7F258
monochromatic
#0F36C1 #1F4DEE #587AF2 #91A7F6 #CAD4FB

Accessibility & contrast

On white

3.83
#587AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#587AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #587AF2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587AF2#FFFFFF#000000##000000
##587AF21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#037CF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #587af2;
/* rgb */ color: rgb(88, 122, 242);
/* oklch */ color: oklch(61.7% 0.184 268.6);
Tailwind
colors: {
  custom: {
    50: '#95a0f7',
    500: '#587af2',
    950: '#000000',
  },
}
SCSS
$custom: #587af2;
$custom-light: #95a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#587af2",
  "rgb": {
    "r": 88,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 226.753,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.18362,
    "h": 268.6
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#587AF2
secondary
#EDE2B8
accent
#B103E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #587AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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