#5874C0#5874C0

#5874C0 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.3% C 0.122 H 267.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5874C0
RGBrgb(88, 116, 192)
HSLhsl(224, 45%, 55%)
HSVhsv(224, 54%, 75%)
CMYKcmyk(54.2%, 39.6%, 0%, 24.7%)
CIE-LABlab(49.94, 12.08, -43.00)
CIE-LCHlch(49.94, 44.66, 285.69°)
OKLaboklab(57.27% -0.0059 -0.1218)
OKLCHoklch(57.27% 0.122 267.2)
XYZxyz(19.7812, 18.3698, 52.3623)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874C0 #C0A458
analogous
#58A8C0 #5874C0 #7058C0
triadic
#5874C0 #C05874 #74C058
tetradic
#5874C0 #C058A8 #C0A458 #58C070
square
#5874C0 #C058A8 #C0A458 #58C070
split-complementary
#5874C0 #C07058 #A8C058
monochromatic
#2B3E72 #3C579F #5874C0 #8499D1 #B1BEE2

Accessibility & contrast

On white

4.49
#5874C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5874C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874C0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874C0#FFFFFF#000000##000000
##5874C01.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557CC3
Deuteranopia (green-blind)
#4972BE
Tritanopia (blue-blind)
#218591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5874c0;
/* rgb */ color: rgb(88, 116, 192);
/* oklch */ color: oklch(57.3% 0.122 267.2);
Tailwind
colors: {
  custom: {
    50: '#8e9bd3',
    500: '#5874c0',
    950: '#000000',
  },
}
SCSS
$custom: #5874c0;
$custom-light: #8e9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5874c0",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 192
  },
  "hsl": {
    "h": 223.846,
    "s": 45.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.12199,
    "h": 267.2
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#5874C0
secondary
#D0C4A4
accent
#B253D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5874C0

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

Preview Lab → · Contrast checker → · Palette generator →

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