#5874CB#5874CB

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

Color values

HEX#5874CB
RGBrgb(88, 116, 203)
HSLhsl(225, 53%, 57%)
HSVhsv(225, 57%, 80%)
CMYKcmyk(56.7%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.54, 15.67, -48.35)
CIE-LCHlch(50.54, 50.82, 287.96°)
OKLaboklab(57.92% -0.0037 -0.1375)
OKLCHoklch(57.92% 0.138 268.4)
XYZxyz(21.0458, 18.8757, 59.0227)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874CB #CBAF58
analogous
#58AECB #5874CB #7658CB
triadic
#5874CB #CB5874 #74CB58
tetradic
#5874CB #CB58AE #CBAF58 #58CB76
square
#5874CB #CB58AE #CBAF58 #58CB76
split-complementary
#5874CB #CB7658 #AECB58
monochromatic
#283E81 #3754AF #5874CB #879BDA #B5C2E8

Accessibility & contrast

On white

4.40
#5874CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5874CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874CB#FFFFFF#000000##000000
##5874CB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#3F74C9
Tritanopia (blue-blind)
#088795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5874cb;
/* rgb */ color: rgb(88, 116, 203);
/* oklch */ color: oklch(57.9% 0.138 268.4);
Tailwind
colors: {
  custom: {
    50: '#909bdb',
    500: '#5874cb',
    950: '#000000',
  },
}
SCSS
$custom: #5874cb;
$custom-light: #909bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5874cb",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 225.391,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.13756,
    "h": 268.4
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#5874CB
secondary
#D7CBA8
accent
#B94CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5874CB

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

Preview Lab → · Contrast checker → · Palette generator →

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