#5D74F0#5D74F0

#5D74F0 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.187 H 271.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D74F0
RGBrgb(93, 116, 240)
HSLhsl(231, 83%, 65%)
HSVhsv(231, 61%, 94%)
CMYKcmyk(61.2%, 51.7%, 0%, 5.9%)
CIE-LABlab(53.07, 28.87, -65.15)
CIE-LCHlch(53.07, 71.26, 293.90°)
OKLaboklab(60.64% 0.0059 -0.1868)
OKLCHoklch(60.64% 0.187 271.8)
XYZxyz(26.4825, 21.1070, 85.0997)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74F0 #F0D95D
analogous
#5DBEF0 #5D74F0 #8F5DF0
triadic
#5D74F0 #F05D74 #74F05D
tetradic
#5D74F0 #F05DBE #F0D95D #5DF08F
square
#5D74F0 #F05DBE #F0D95D #5DF08F
split-complementary
#5D74F0 #F08F5D #BEF05D
monochromatic
#122DC1 #2544EB #5D74F0 #95A4F5 #CDD4FA

Accessibility & contrast

On white

4.02
#5D74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5D74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74F0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74F0#FFFFFF#000000##000000
##5D74F01.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d74f0;
/* rgb */ color: rgb(93, 116, 240);
/* oklch */ color: oklch(60.6% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#989bf6',
    500: '#5d74f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d74f0;
$custom-light: #989bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74f0",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 230.612,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.18688,
    "h": 271.8
  },
  "luminance": 0.21109
}

Semantic roles & 50–950 ramp

primary
#5D74F0
secondary
#EDE5BC
accent
#BD06DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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