#5874AF#5874AF

#5874AF is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.3% C 0.098 H 264.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5874AF
RGBrgb(88, 116, 175)
HSLhsl(221, 35%, 52%)
HSVhsv(221, 50%, 69%)
CMYKcmyk(49.7%, 33.7%, 0%, 31.4%)
CIE-LABlab(49.08, 6.64, -34.54)
CIE-LCHlch(49.08, 35.17, 280.88°)
OKLaboklab(56.32% -0.0099 -0.0972)
OKLCHoklch(56.32% 0.098 264.2)
XYZxyz(18.0052, 17.6594, 43.0090)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874AF #AF9358
analogous
#58A0AF #5874AF #6858AF
triadic
#5874AF #AF5874 #74AF58
tetradic
#5874AF #AF58A0 #AF9358 #58AF68
square
#5874AF #AF58A0 #AF9358 #58AF68
split-complementary
#5874AF #AF6858 #A0AF58
monochromatic
#2E3D5F #415888 #5874AF #8196C3 #ABB9D7

Accessibility & contrast

On white

4.63
#5874AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5874AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5874AF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874AF#FFFFFF#000000##FFFFFF
##5874AF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B1
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#328189
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5874af;
/* rgb */ color: rgb(88, 116, 175);
/* oklch */ color: oklch(56.3% 0.098 264.2);
Tailwind
colors: {
  custom: {
    50: '#8c9bc7',
    500: '#5874af',
    950: '#000000',
  },
}
SCSS
$custom: #5874af;
$custom-light: #8c9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5874af",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 220.69,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.09768,
    "h": 264.2
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#5874AF
secondary
#C5B89E
accent
#A85DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5874AF

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

Preview Lab → · Contrast checker → · Palette generator →

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