#5874C1#5874C1

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

Color values

HEX#5874C1
RGBrgb(88, 116, 193)
HSLhsl(224, 46%, 55%)
HSVhsv(224, 54%, 76%)
CMYKcmyk(54.4%, 39.9%, 0%, 24.3%)
CIE-LABlab(49.99, 12.40, -43.49)
CIE-LCHlch(49.99, 45.22, 285.91°)
OKLaboklab(57.32% -0.0056 -0.1233)
OKLCHoklch(57.32% 0.123 267.4)
XYZxyz(19.8923, 18.4143, 52.9478)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874C1 #C1A558
analogous
#58A9C1 #5874C1 #7058C1
triadic
#5874C1 #C15874 #74C158
tetradic
#5874C1 #C158A9 #C1A558 #58C170
square
#5874C1 #C158A9 #C1A558 #58C170
split-complementary
#5874C1 #C17058 #A9C158
monochromatic
#2B3E74 #3C56A0 #5874C1 #8599D2 #B1BEE2

Accessibility & contrast

On white

4.48
#5874C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5874C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874C1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874C1#FFFFFF#000000##000000
##5874C11.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#4873BF
Tritanopia (blue-blind)
#1F8591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5874c1;
/* rgb */ color: rgb(88, 116, 193);
/* oklch */ color: oklch(57.3% 0.123 267.4);
Tailwind
colors: {
  custom: {
    50: '#8e9bd4',
    500: '#5874c1',
    950: '#000000',
  },
}
SCSS
$custom: #5874c1;
$custom-light: #8e9bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5874c1",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 193
  },
  "hsl": {
    "h": 224,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.12342,
    "h": 267.4
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#5874C1
secondary
#D0C5A4
accent
#B352D6
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5874C1

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

Preview Lab → · Contrast checker → · Palette generator →

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