#5874CA#5874CA

#5874CA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.136 H 268.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5874CA
RGBrgb(88, 116, 202)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 79%)
CMYKcmyk(56.4%, 42.6%, 0%, 20.8%)
CIE-LABlab(50.49, 15.34, -47.86)
CIE-LCHlch(50.49, 50.26, 287.78°)
OKLaboklab(57.86% -0.0039 -0.1361)
OKLCHoklch(57.86% 0.136 268.4)
XYZxyz(20.9270, 18.8282, 58.3971)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874CA #CAAE58
analogous
#58ADCA #5874CA #7558CA
triadic
#5874CA #CA5874 #74CA58
tetradic
#5874CA #CA58AD #CAAE58 #58CA75
square
#5874CA #CA58AD #CAAE58 #58CA75
split-complementary
#5874CA #CA7558 #ADCA58
monochromatic
#283E7F #3754AE #5874CA #869BD9 #B5C1E7

Accessibility & contrast

On white

4.41
#5874CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5874CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874CA#FFFFFF#000000##000000
##5874CA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#0C8795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5874ca;
/* rgb */ color: rgb(88, 116, 202);
/* oklch */ color: oklch(57.9% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#8f9bda',
    500: '#5874ca',
    950: '#000000',
  },
}
SCSS
$custom: #5874ca;
$custom-light: #8f9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ca",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 225.263,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.13616,
    "h": 268.4
  },
  "luminance": 0.1883
}

Semantic roles & 50–950 ramp

primary
#5874CA
secondary
#D6CBA8
accent
#B84DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5874CA

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

Preview Lab → · Contrast checker → · Palette generator →

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