#5874AC#5874AC

#5874AC is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.2% C 0.093 H 263.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5874AC
RGBrgb(88, 116, 172)
HSLhsl(220, 34%, 51%)
HSVhsv(220, 49%, 67%)
CMYKcmyk(48.8%, 32.6%, 0%, 32.5%)
CIE-LABlab(48.94, 5.70, -33.02)
CIE-LCHlch(48.94, 33.51, 279.80°)
OKLaboklab(56.16% -0.0107 -0.0928)
OKLCHoklch(56.16% 0.093 263.4)
XYZxyz(17.7138, 17.5429, 41.4744)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874AC #AC9058
analogous
#589EAC #5874AC #6658AC
triadic
#5874AC #AC5874 #74AC58
tetradic
#5874AC #AC589E #AC9058 #58AC66
square
#5874AC #AC589E #AC9058 #58AC66
split-complementary
#5874AC #AC6658 #9EAC58
monochromatic
#2E3D5C #425885 #5874AC #8196C0 #AAB8D5

Accessibility & contrast

On white

4.66
#5874AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5874AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5874AC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874AC#FFFFFF#000000##FFFFFF
##5874AC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AE
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#358088
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5874ac;
/* rgb */ color: rgb(88, 116, 172);
/* oklch */ color: oklch(56.2% 0.093 263.4);
Tailwind
colors: {
  custom: {
    50: '#8c9bc5',
    500: '#5874ac',
    950: '#000000',
  },
}
SCSS
$custom: #5874ac;
$custom-light: #8c9bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ac",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 172
  },
  "hsl": {
    "h": 220,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.09339,
    "h": 263.4
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#5874AC
secondary
#C3B69D
accent
#A65ECA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5874AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5874AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva