#5879F9#5879F9

#5879F9 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.194 H 269.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5879F9
RGBrgb(88, 121, 249)
HSLhsl(228, 93%, 66%)
HSVhsv(228, 65%, 98%)
CMYKcmyk(64.7%, 51.4%, 0%, 2.4%)
CIE-LABlab(54.64, 28.02, -67.61)
CIE-LCHlch(54.64, 73.19, 292.51°)
OKLaboklab(61.94% -0.0028 -0.1941)
OKLCHoklch(61.94% 0.194 269.2)
XYZxyz(27.9549, 22.5864, 92.4906)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879F9 #F9D858
analogous
#58C9F9 #5879F9 #8758F9
triadic
#5879F9 #F95879 #79F958
tetradic
#5879F9 #F958C9 #F9D858 #58F987
square
#5879F9 #F958C9 #F9D858 #58F987
split-complementary
#5879F9 #F98758 #C9F958
monochromatic
#0730CF #1D4AF7 #5879F9 #93A8FB #CED8FD

Accessibility & contrast

On white

3.81
#5879F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5879F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879F9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879F9#FFFFFF#000000##000000
##5879F91.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5879f9;
/* rgb */ color: rgb(88, 121, 249);
/* oklch */ color: oklch(61.9% 0.194 269.2);
Tailwind
colors: {
  custom: {
    50: '#979ffc',
    500: '#5879f9',
    950: '#000000',
  },
}
SCSS
$custom: #5879f9;
$custom-light: #979ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#5879f9",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 227.702,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.19411,
    "h": 269.2
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#5879F9
secondary
#F1E6BC
accent
#B600E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5879F9

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

Preview Lab → · Contrast checker → · Palette generator →

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