#5D74CD#5D74CD

#5D74CD is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.3% C 0.139 H 270.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5D74CD
RGBrgb(93, 116, 205)
HSLhsl(228, 53%, 58%)
HSVhsv(228, 55%, 80%)
CMYKcmyk(54.6%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.95, 17.38, -48.82)
CIE-LCHlch(50.95, 51.82, 289.59°)
OKLaboklab(58.35% 0.0017 -0.1388)
OKLCHoklch(58.35% 0.139 270.7)
XYZxyz(21.7754, 19.2242, 60.3089)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74CD #CDB65D
analogous
#5DACCD #5D74CD #7E5DCD
triadic
#5D74CD #CD5D74 #74CD5D
tetradic
#5D74CD #CD5DAC #CDB65D #5DCD7E
square
#5D74CD #CD5DAC #CDB65D #5DCD7E
split-complementary
#5D74CD #CD7E5D #ACCD5D
monochromatic
#293C86 #3852B5 #5D74CD #8C9CDB #BBC4EA

Accessibility & contrast

On white

4.33
#5D74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5D74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74CD#FFFFFF#000000##000000
##5D74CD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ED0
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#218796
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d74cd;
/* rgb */ color: rgb(93, 116, 205);
/* oklch */ color: oklch(58.3% 0.139 270.7);
Tailwind
colors: {
  custom: {
    50: '#939bdd',
    500: '#5d74cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d74cd;
$custom-light: #939bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74cd",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 227.679,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.13881,
    "h": 270.7
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#5D74CD
secondary
#D9D0AD
accent
#BF4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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