#5D74DC#5D74DC

#5D74DC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.160 H 271.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5D74DC
RGBrgb(93, 116, 220)
HSLhsl(229, 64%, 61%)
HSVhsv(229, 58%, 86%)
CMYKcmyk(57.7%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.82, 22.27, -55.94)
CIE-LCHlch(51.82, 60.21, 291.71°)
OKLaboklab(59.29% 0.0039 -0.1597)
OKLCHoklch(59.29% 0.16 271.4)
XYZxyz(23.6736, 19.9834, 70.3059)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74DC #DCC55D
analogous
#5DB4DC #5D74DC #865DDC
triadic
#5D74DC #DC5D74 #74DC5D
tetradic
#5D74DC #DC5DB4 #DCC55D #5DDC86
square
#5D74DC #DC5DB4 #DCC55D #5DDC86
split-complementary
#5D74DC #DC865D #B4DC5D
monochromatic
#22389D #2D4ACF #5D74DC #8F9FE7 #C2CAF2

Accessibility & contrast

On white

4.20
#5D74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5D74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74DC#FFFFFF#000000##000000
##5D74DC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281E0
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d74dc;
/* rgb */ color: rgb(93, 116, 220);
/* oklch */ color: oklch(59.3% 0.160 271.4);
Tailwind
colors: {
  custom: {
    50: '#959be7',
    500: '#5d74dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d74dc;
$custom-light: #959be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74dc",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 229.134,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.15975,
    "h": 271.4
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#5D74DC
secondary
#E2DAB3
accent
#AC19CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D74DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5D74DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva