#5879EB#5879EB

#5879EB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.175 H 268.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5879EB
RGBrgb(88, 121, 235)
HSLhsl(227, 79%, 63%)
HSVhsv(227, 63%, 92%)
CMYKcmyk(62.6%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.76, 23.29, -61.26)
CIE-LCHlch(53.76, 65.54, 290.81°)
OKLaboklab(60.99% -0.0042 -0.1754)
OKLCHoklch(60.99% 0.175 268.6)
XYZxyz(25.8522, 21.7453, 81.4160)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879EB #EBCA58
analogous
#58C2EB #5879EB #8058EB
triadic
#5879EB #EB5879 #79EB58
tetradic
#5879EB #EB58C2 #EBCA58 #58EB80
square
#5879EB #EB58C2 #EBCA58 #58EB80
split-complementary
#5879EB #EB8058 #C2EB58
monochromatic
#1539B3 #214DE4 #5879EB #8FA5F2 #C5D1F8

Accessibility & contrast

On white

3.93
#5879EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5879EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879EB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879EB#FFFFFF#000000##000000
##5879EB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#1B7AE9
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5879eb;
/* rgb */ color: rgb(88, 121, 235);
/* oklch */ color: oklch(61.0% 0.175 268.6);
Tailwind
colors: {
  custom: {
    50: '#949ff2',
    500: '#5879eb',
    950: '#000000',
  },
}
SCSS
$custom: #5879eb;
$custom-light: #949ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5879eb",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 226.531,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.17545,
    "h": 268.6
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#5879EB
secondary
#EADEB5
accent
#AC0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5879EB

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

Preview Lab → · Contrast checker → · Palette generator →

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