#5D74DA#5D74DA

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

Color values

HEX#5D74DA
RGBrgb(93, 116, 218)
HSLhsl(229, 63%, 61%)
HSVhsv(229, 57%, 85%)
CMYKcmyk(57.3%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.70, 21.61, -55.00)
CIE-LCHlch(51.70, 59.09, 291.45°)
OKLaboklab(59.16% 0.0036 -0.1569)
OKLCHoklch(59.16% 0.157 271.3)
XYZxyz(23.4103, 19.8781, 68.9193)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74DA #DAC35D
analogous
#5DB2DA #5D74DA #845DDA
triadic
#5D74DA #DA5D74 #74DA5D
tetradic
#5D74DA #DA5DB2 #DAC35D #5DDA84
square
#5D74DA #DA5DB2 #DAC35D #5DDA84
split-complementary
#5D74DA #DA845D #B2DA5D
monochromatic
#23399A #2E4BCB #5D74DA #8F9FE5 #C1C9F1

Accessibility & contrast

On white

4.22
#5D74DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5D74DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74DA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74DA#FFFFFF#000000##000000
##5D74DA1.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)
#4381DE
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d74da;
/* rgb */ color: rgb(93, 116, 218);
/* oklch */ color: oklch(59.2% 0.157 271.3);
Tailwind
colors: {
  custom: {
    50: '#949be6',
    500: '#5d74da',
    950: '#000000',
  },
}
SCSS
$custom: #5d74da;
$custom-light: #949be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74da",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 228.96,
    "s": 62.814,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.15698,
    "h": 271.3
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#5D74DA
secondary
#E1D8B2
accent
#AA1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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