#5D74F3#5D74F3

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

Color values

HEX#5D74F3
RGBrgb(93, 116, 243)
HSLhsl(231, 86%, 66%)
HSVhsv(231, 62%, 95%)
CMYKcmyk(61.7%, 52.3%, 0%, 4.7%)
CIE-LABlab(53.26, 29.86, -66.50)
CIE-LCHlch(53.26, 72.90, 294.18°)
OKLaboklab(60.85% 0.0061 -0.1908)
OKLCHoklch(60.85% 0.191 271.8)
XYZxyz(26.9319, 21.2867, 87.4661)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74F3 #F3DC5D
analogous
#5DBFF3 #5D74F3 #915DF3
triadic
#5D74F3 #F35D74 #74F35D
tetradic
#5D74F3 #F35DBF #F3DC5D #5DF391
square
#5D74F3 #F35DBF #F3DC5D #5DF391
split-complementary
#5D74F3 #F3915D #BFF35D
monochromatic
#0F2BC7 #2443EF #5D74F3 #96A5F7 #CFD6FB

Accessibility & contrast

On white

3.99
#5D74F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5D74F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74F3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74F3#FFFFFF#000000##000000
##5D74F31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d74f3;
/* rgb */ color: rgb(93, 116, 243);
/* oklch */ color: oklch(60.8% 0.191 271.8);
Tailwind
colors: {
  custom: {
    50: '#989bf8',
    500: '#5d74f3',
    950: '#000000',
  },
}
SCSS
$custom: #5d74f3;
$custom-light: #989bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74f3",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 230.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.19087,
    "h": 271.8
  },
  "luminance": 0.21289
}

Semantic roles & 50–950 ramp

primary
#5D74F3
secondary
#EFE7BD
accent
#C003E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D74F3

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

Preview Lab → · Contrast checker → · Palette generator →

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