#5878B3#5878B3

#5878B3 is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.099 H 262.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5878B3
RGBrgb(88, 120, 179)
HSLhsl(219, 37%, 52%)
HSVhsv(219, 51%, 70%)
CMYKcmyk(50.8%, 33%, 0%, 29.8%)
CIE-LABlab(50.41, 5.48, -34.77)
CIE-LCHlch(50.41, 35.20, 278.95°)
OKLaboklab(57.41% -0.0137 -0.0979)
OKLCHoklch(57.41% 0.099 262)
XYZxyz(18.8749, 18.7610, 45.2657)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878B3 #B39358
analogous
#58A6B3 #5878B3 #6558B3
triadic
#5878B3 #B35878 #78B358
tetradic
#5878B3 #B358A6 #B39358 #58B365
square
#5878B3 #B358A6 #B39358 #58B365
split-complementary
#5878B3 #B36558 #A6B358
monochromatic
#2D4063 #405B8D #5878B3 #829AC6 #ACBCD9

Accessibility & contrast

On white

4.42
#5878B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5878B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878B3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878B3#FFFFFF#000000##000000
##5878B31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB5
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#2E858D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5878b3;
/* rgb */ color: rgb(88, 120, 179);
/* oklch */ color: oklch(57.4% 0.099 262.0);
Tailwind
colors: {
  custom: {
    50: '#8c9eca',
    500: '#5878b3',
    950: '#000000',
  },
}
SCSS
$custom: #5878b3;
$custom-light: #8c9eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5878b3",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 218.901,
    "s": 37.449,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.09881,
    "h": 262
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5878B3

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

Preview Lab → · Contrast checker → · Palette generator →

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