#5879F1#5879F1

#5879F1 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.183 H 268.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5879F1
RGBrgb(88, 121, 241)
HSLhsl(227, 85%, 65%)
HSVhsv(227, 63%, 95%)
CMYKcmyk(63.5%, 49.8%, 0%, 5.5%)
CIE-LABlab(54.13, 25.31, -64.00)
CIE-LCHlch(54.13, 68.82, 291.58°)
OKLaboklab(61.39% -0.0036 -0.1835)
OKLCHoklch(61.39% 0.183 268.9)
XYZxyz(26.7337, 22.0979, 86.0585)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879F1 #F1D058
analogous
#58C5F1 #5879F1 #8458F1
triadic
#5879F1 #F15879 #79F158
tetradic
#5879F1 #F158C5 #F1D058 #58F184
square
#5879F1 #F158C5 #F1D058 #58F184
split-complementary
#5879F1 #F18458 #C5F158
monochromatic
#1036BF #204CEC #5879F1 #90A6F6 #C9D4FA

Accessibility & contrast

On white

3.87
#5879F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5879F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879F1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879F1#FFFFFF#000000##000000
##5879F11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5879f1;
/* rgb */ color: rgb(88, 121, 241);
/* oklch */ color: oklch(61.4% 0.183 268.9);
Tailwind
colors: {
  custom: {
    50: '#959ff6',
    500: '#5879f1',
    950: '#000000',
  },
}
SCSS
$custom: #5879f1;
$custom-light: #959ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5879f1",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 241
  },
  "hsl": {
    "h": 227.059,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.18349,
    "h": 268.9
  },
  "luminance": 0.221
}

Semantic roles & 50–950 ramp

primary
#5879F1
secondary
#EDE1B8
accent
#B105E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5879F1

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

Preview Lab → · Contrast checker → · Palette generator →

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