#5877F1#5877F1

#5877F1 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.186 H 269.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5877F1
RGBrgb(88, 119, 241)
HSLhsl(228, 85%, 65%)
HSVhsv(228, 63%, 95%)
CMYKcmyk(63.5%, 50.6%, 0%, 5.5%)
CIE-LABlab(53.62, 26.54, -64.83)
CIE-LCHlch(53.62, 70.05, 292.26°)
OKLaboklab(61% -0.0017 -0.1859)
OKLCHoklch(61% 0.186 269.5)
XYZxyz(26.4931, 21.6169, 85.9783)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877F1 #F1D258
analogous
#58C4F1 #5877F1 #8658F1
triadic
#5877F1 #F15877 #77F158
tetradic
#5877F1 #F158C4 #F1D258 #58F186
square
#5877F1 #F158C4 #F1D258 #58F186
split-complementary
#5877F1 #F18658 #C4F158
monochromatic
#1033BF #2049EC #5877F1 #90A5F6 #C9D3FA

Accessibility & contrast

On white

3.94
#5877F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5877F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877F1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877F1#FFFFFF#000000##000000
##5877F11.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F5
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5877f1;
/* rgb */ color: rgb(88, 119, 241);
/* oklch */ color: oklch(61.0% 0.186 269.5);
Tailwind
colors: {
  custom: {
    50: '#959df6',
    500: '#5877f1',
    950: '#000000',
  },
}
SCSS
$custom: #5877f1;
$custom-light: #959df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5877f1",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 227.843,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.18593,
    "h": 269.5
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#5877F1
secondary
#EDE2B8
accent
#B405E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5877F1

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

Preview Lab → · Contrast checker → · Palette generator →

#5877F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva