#5874DE#5874DE

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

Color values

HEX#5874DE
RGBrgb(88, 116, 222)
HSLhsl(227, 67%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.4%, 47.7%, 0%, 12.9%)
CIE-LABlab(51.65, 21.99, -57.35)
CIE-LCHlch(51.65, 61.42, 290.98°)
OKLaboklab(59.13% -0.0009 -0.164)
OKLCHoklch(59.13% 0.164 269.7)
XYZxyz(23.4503, 19.8375, 71.6863)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874DE #DEC258
analogous
#58B7DE #5874DE #7F58DE
triadic
#5874DE #DE5874 #74DE58
tetradic
#5874DE #DE58B7 #DEC258 #58DE7F
square
#5874DE #DE58B7 #DEC258 #58DE7F
split-complementary
#5874DE #DE7F58 #B7DE58
monochromatic
#1F399D #294CD0 #5874DE #8B9FE8 #BEC9F2

Accessibility & contrast

On white

4.23
#5874DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5874DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874DE#FFFFFF#000000##000000
##5874DE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E2
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5874de;
/* rgb */ color: rgb(88, 116, 222);
/* oklch */ color: oklch(59.1% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#929be9',
    500: '#5874de',
    950: '#000000',
  },
}
SCSS
$custom: #5874de;
$custom-light: #929be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5874de",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 227.463,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.16395,
    "h": 269.7
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#5874DE
secondary
#E2D8B0
accent
#A817CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874DE

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

Preview Lab → · Contrast checker → · Palette generator →

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