#5879F3#5879F3

#5879F3 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.186 H 269.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5879F3
RGBrgb(88, 121, 243)
HSLhsl(227, 87%, 65%)
HSVhsv(227, 64%, 95%)
CMYKcmyk(63.8%, 50.2%, 0%, 4.7%)
CIE-LABlab(54.26, 25.99, -64.91)
CIE-LCHlch(54.26, 69.92, 291.82°)
OKLaboklab(61.53% -0.0034 -0.1861)
OKLCHoklch(61.53% 0.186 269)
XYZxyz(27.0340, 22.2181, 87.6405)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879F3 #F3D258
analogous
#58C6F3 #5879F3 #8558F3
triadic
#5879F3 #F35879 #79F358
tetradic
#5879F3 #F358C6 #F3D258 #58F385
square
#5879F3 #F358C6 #F3D258 #58F385
split-complementary
#5879F3 #F38558 #C6F358
monochromatic
#0E34C3 #1F4BEF #5879F3 #91A7F7 #CAD5FB

Accessibility & contrast

On white

3.86
#5879F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5879F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879F3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879F3#FFFFFF#000000##000000
##5879F31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5879f3;
/* rgb */ color: rgb(88, 121, 243);
/* oklch */ color: oklch(61.5% 0.186 269.0);
Tailwind
colors: {
  custom: {
    50: '#969ff8',
    500: '#5879f3',
    950: '#000000',
  },
}
SCSS
$custom: #5879f3;
$custom-light: #969ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5879f3",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 227.226,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61526,
    "c": 0.18616,
    "h": 269
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

primary
#5879F3
secondary
#EEE3B9
accent
#B302E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5879F3

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

Preview Lab → · Contrast checker → · Palette generator →

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