#5879CF#5879CF

#5879CF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.137 H 266.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5879CF
RGBrgb(88, 121, 207)
HSLhsl(223, 55%, 58%)
HSVhsv(223, 57%, 81%)
CMYKcmyk(57.5%, 41.5%, 0%, 18.8%)
CIE-LABlab(52.12, 13.93, -48.11)
CIE-LCHlch(52.12, 50.08, 286.15°)
OKLaboklab(59.21% -0.0084 -0.1368)
OKLCHoklch(59.21% 0.137 266.5)
XYZxyz(22.1206, 20.2527, 61.7629)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879CF #CFAE58
analogous
#58B5CF #5879CF #7258CF
triadic
#5879CF #CF5879 #79CF58
tetradic
#5879CF #CF58B5 #CFAE58 #58CF72
square
#5879CF #CF58B5 #CFAE58 #58CF72
split-complementary
#5879CF #CF7258 #B5CF58
monochromatic
#274186 #3458B6 #5879CF #889FDD #B7C5EA

Accessibility & contrast

On white

4.16
#5879CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5879CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879CF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879CF#FFFFFF#000000##000000
##5879CF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5879cf;
/* rgb */ color: rgb(88, 121, 207);
/* oklch */ color: oklch(59.2% 0.137 266.5);
Tailwind
colors: {
  custom: {
    50: '#909fde',
    500: '#5879cf',
    950: '#000000',
  },
}
SCSS
$custom: #5879cf;
$custom-light: #909fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5879cf",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 223.361,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.13702,
    "h": 266.5
  },
  "luminance": 0.20254
}

Semantic roles & 50–950 ramp

primary
#5879CF
secondary
#D9CCAA
accent
#B549DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5879CF

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

Preview Lab → · Contrast checker → · Palette generator →

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