#5874DD#5874DD

#5874DD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.163 H 269.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5874DD
RGBrgb(88, 116, 221)
HSLhsl(227, 66%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.2%, 47.5%, 0%, 13.3%)
CIE-LABlab(51.59, 21.66, -56.88)
CIE-LCHlch(51.59, 60.86, 290.84°)
OKLaboklab(59.06% -0.001 -0.1626)
OKLCHoklch(59.06% 0.163 269.6)
XYZxyz(23.3167, 19.7840, 70.9826)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874DD #DDC158
analogous
#58B7DD #5874DD #7E58DD
triadic
#5874DD #DD5874 #74DD58
tetradic
#5874DD #DD58B7 #DDC158 #58DD7E
square
#5874DD #DD58B7 #DDC158 #58DD7E
split-complementary
#5874DD #DD7E58 #B7DD58
monochromatic
#203A9B #2A4CCE #5874DD #8B9EE7 #BEC9F2

Accessibility & contrast

On white

4.24
#5874DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5874DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874DD#FFFFFF#000000##000000
##5874DD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5874dd;
/* rgb */ color: rgb(88, 116, 221);
/* oklch */ color: oklch(59.1% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#929be8',
    500: '#5874dd',
    950: '#000000',
  },
}
SCSS
$custom: #5874dd;
$custom-light: #929be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5874dd",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 227.368,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.16258,
    "h": 269.6
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#5874DD
secondary
#E2D7AF
accent
#A817CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874DD

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

Preview Lab → · Contrast checker → · Palette generator →

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