#5D74F4#5D74F4

#5D74F4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.192 H 271.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D74F4
RGBrgb(93, 116, 244)
HSLhsl(231, 87%, 66%)
HSVhsv(231, 62%, 96%)
CMYKcmyk(61.9%, 52.5%, 0%, 4.3%)
CIE-LABlab(53.33, 30.20, -66.95)
CIE-LCHlch(53.33, 73.45, 294.28°)
OKLaboklab(60.92% 0.0061 -0.1921)
OKLCHoklch(60.92% 0.192 271.8)
XYZxyz(27.0833, 21.3473, 88.2636)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74F4 #F4DD5D
analogous
#5DBFF4 #5D74F4 #915DF4
triadic
#5D74F4 #F45D74 #74F45D
tetradic
#5D74F4 #F45DBF #F4DD5D #5DF491
square
#5D74F4 #F45DBF #F4DD5D #5DF491
split-complementary
#5D74F4 #F4915D #BFF45D
monochromatic
#0E2AC9 #2443F0 #5D74F4 #96A5F8 #D0D6FC

Accessibility & contrast

On white

3.98
#5D74F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5D74F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74F4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74F4#FFFFFF#000000##000000
##5D74F41.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d74f4;
/* rgb */ color: rgb(93, 116, 244);
/* oklch */ color: oklch(60.9% 0.192 271.8);
Tailwind
colors: {
  custom: {
    50: '#989bf9',
    500: '#5d74f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d74f4;
$custom-light: #989bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74f4",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 230.861,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.1922,
    "h": 271.8
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#5D74F4
secondary
#EFE8BE
accent
#C102E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D74F4

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

Preview Lab → · Contrast checker → · Palette generator →

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