#5D74EE#5D74EE

#5D74EE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.184 H 271.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5D74EE
RGBrgb(93, 116, 238)
HSLhsl(230, 81%, 65%)
HSVhsv(230, 61%, 93%)
CMYKcmyk(60.9%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.94, 28.21, -64.24)
CIE-LCHlch(52.94, 70.16, 293.71°)
OKLaboklab(60.5% 0.0057 -0.1841)
OKLCHoklch(60.5% 0.184 271.8)
XYZxyz(26.1871, 20.9888, 83.5436)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74EE #EED75D
analogous
#5DBCEE #5D74EE #8F5DEE
triadic
#5D74EE #EE5D74 #74EE5D
tetradic
#5D74EE #EE5DBC #EED75D #5DEE8F
square
#5D74EE #EE5DBC #EED75D #5DEE8F
split-complementary
#5D74EE #EE8F5D #BCEE5D
monochromatic
#142FBD #2644E8 #5D74EE #94A4F4 #CCD3FA

Accessibility & contrast

On white

4.04
#5D74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5D74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74EE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74EE#FFFFFF#000000##000000
##5D74EE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d74ee;
/* rgb */ color: rgb(93, 116, 238);
/* oklch */ color: oklch(60.5% 0.184 271.8);
Tailwind
colors: {
  custom: {
    50: '#989bf4',
    500: '#5d74ee',
    950: '#000000',
  },
}
SCSS
$custom: #5d74ee;
$custom-light: #989bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74ee",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 230.483,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.18421,
    "h": 271.8
  },
  "luminance": 0.20991
}

Semantic roles & 50–950 ramp

primary
#5D74EE
secondary
#ECE4BB
accent
#BC08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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