#5879B3#5879B3

#5879B3 is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.098 H 261.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5879B3
RGBrgb(88, 121, 179)
HSLhsl(218, 37%, 52%)
HSVhsv(218, 51%, 70%)
CMYKcmyk(50.8%, 32.4%, 0%, 29.8%)
CIE-LABlab(50.69, 4.87, -34.33)
CIE-LCHlch(50.69, 34.67, 278.08°)
OKLaboklab(57.63% -0.015 -0.0965)
OKLCHoklch(57.63% 0.098 261.2)
XYZxyz(18.9958, 19.0028, 45.3060)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879B3 #B39258
analogous
#58A7B3 #5879B3 #6558B3
triadic
#5879B3 #B35879 #79B358
tetradic
#5879B3 #B358A7 #B39258 #58B365
square
#5879B3 #B358A7 #B39258 #58B365
split-complementary
#5879B3 #B36558 #A7B358
monochromatic
#2D4163 #405C8D #5879B3 #829BC6 #ACBCD9

Accessibility & contrast

On white

4.37
#5879B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5879B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879B3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879B3#FFFFFF#000000##000000
##5879B31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#2E868E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5879b3;
/* rgb */ color: rgb(88, 121, 179);
/* oklch */ color: oklch(57.6% 0.098 261.2);
Tailwind
colors: {
  custom: {
    50: '#8c9fca',
    500: '#5879b3',
    950: '#000000',
  },
}
SCSS
$custom: #5879b3;
$custom-light: #8c9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#5879b3",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 218.242,
    "s": 37.449,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.0977,
    "h": 261.2
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#5879B3
secondary
#C7B9A0
accent
#A45ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5879B3

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

Preview Lab → · Contrast checker → · Palette generator →

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