#5874DF#5874DF

#5874DF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.165 H 269.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5874DF
RGBrgb(88, 116, 223)
HSLhsl(228, 68%, 61%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(60.5%, 48%, 0%, 12.5%)
CIE-LABlab(51.71, 22.33, -57.81)
CIE-LCHlch(51.71, 61.97, 291.12°)
OKLaboklab(59.2% -0.0008 -0.1653)
OKLCHoklch(59.2% 0.165 269.7)
XYZxyz(23.5847, 19.8912, 72.3943)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874DF #DFC358
analogous
#58B7DF #5874DF #7F58DF
triadic
#5874DF #DF5874 #74DF58
tetradic
#5874DF #DF58B7 #DFC358 #58DF7F
square
#5874DF #DF58B7 #DFC358 #58DF7F
split-complementary
#5874DF #DF7F58 #B7DF58
monochromatic
#1E399E #284BD2 #5874DF #8B9FE9 #BFC9F3

Accessibility & contrast

On white

4.22
#5874DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5874DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874DF#FFFFFF#000000##000000
##5874DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5874df;
/* rgb */ color: rgb(88, 116, 223);
/* oklch */ color: oklch(59.2% 0.165 269.7);
Tailwind
colors: {
  custom: {
    50: '#939bea',
    500: '#5874df',
    950: '#000000',
  },
}
SCSS
$custom: #5874df;
$custom-light: #939bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5874df",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 227.556,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.16532,
    "h": 269.7
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#5874DF
secondary
#E3D8B0
accent
#A916D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874DF

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

Preview Lab → · Contrast checker → · Palette generator →

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