#5D74E7#5D74E7

#5D74E7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.175 H 271.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5D74E7
RGBrgb(93, 116, 231)
HSLhsl(230, 74%, 64%)
HSVhsv(230, 60%, 91%)
CMYKcmyk(59.7%, 49.8%, 0%, 9.4%)
CIE-LABlab(52.49, 25.89, -61.04)
CIE-LCHlch(52.49, 66.31, 292.99°)
OKLaboklab(60.02% 0.0051 -0.1747)
OKLCHoklch(60.02% 0.175 271.7)
XYZxyz(25.1786, 20.5854, 78.2324)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74E7 #E7D05D
analogous
#5DB9E7 #5D74E7 #8B5DE7
triadic
#5D74E7 #E75D74 #74E75D
tetradic
#5D74E7 #E75DB9 #E7D05D #5DE78B
square
#5D74E7 #E75DB9 #E7D05D #5DE78B
split-complementary
#5D74E7 #E78B5D #B9E75D
monochromatic
#1A33B0 #2846DF #5D74E7 #92A2EF #C8CFF7

Accessibility & contrast

On white

4.10
#5D74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5D74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74E7#FFFFFF#000000##000000
##5D74E71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#1777E5
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d74e7;
/* rgb */ color: rgb(93, 116, 231);
/* oklch */ color: oklch(60.0% 0.175 271.7);
Tailwind
colors: {
  custom: {
    50: '#969bef',
    500: '#5d74e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d74e7;
$custom-light: #969bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74e7",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 230,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.17478,
    "h": 271.7
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#5D74E7
secondary
#E8E0B7
accent
#B50FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5D74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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