#5D74F5#5D74F5

#5D74F5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.194 H 271.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D74F5
RGBrgb(93, 116, 245)
HSLhsl(231, 88%, 66%)
HSVhsv(231, 62%, 96%)
CMYKcmyk(62%, 52.7%, 0%, 3.9%)
CIE-LABlab(53.39, 30.53, -67.40)
CIE-LCHlch(53.39, 73.99, 294.37°)
OKLaboklab(60.99% 0.0062 -0.1934)
OKLCHoklch(60.99% 0.194 271.8)
XYZxyz(27.2355, 21.4082, 89.0654)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74F5 #F5DE5D
analogous
#5DC0F5 #5D74F5 #925DF5
triadic
#5D74F5 #F55D74 #74F55D
tetradic
#5D74F5 #F55DC0 #F5DE5D #5DF592
square
#5D74F5 #F55DC0 #F5DE5D #5DF592
split-complementary
#5D74F5 #F5925D #C0F55D
monochromatic
#0D29CB #2343F1 #5D74F5 #97A5F9 #D0D7FC

Accessibility & contrast

On white

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

On black

5.28
#5D74F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74F5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74F5#FFFFFF#000000##000000
##5D74F51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d74f5;
/* rgb */ color: rgb(93, 116, 245);
/* oklch */ color: oklch(61.0% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#999bf9',
    500: '#5d74f5',
    950: '#000000',
  },
}
SCSS
$custom: #5d74f5;
$custom-light: #999bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74f5",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 230.921,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.19352,
    "h": 271.8
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#5D74F5
secondary
#F0E8BE
accent
#C201E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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