#5D74F7#5D74F7

#5D74F7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.196 H 271.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D74F7
RGBrgb(93, 116, 247)
HSLhsl(231, 91%, 67%)
HSVhsv(231, 62%, 97%)
CMYKcmyk(62.3%, 53%, 0%, 3.1%)
CIE-LABlab(53.53, 31.19, -68.30)
CIE-LCHlch(53.53, 75.08, 294.55°)
OKLaboklab(61.13% 0.0063 -0.1961)
OKLCHoklch(61.13% 0.196 271.8)
XYZxyz(27.5425, 21.5310, 90.6821)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74F7 #F7E05D
analogous
#5DC1F7 #5D74F7 #935DF7
triadic
#5D74F7 #F75D74 #74F75D
tetradic
#5D74F7 #F75DC1 #F7E05D #5DF793
square
#5D74F7 #F75DC1 #F7E05D #5DF793
split-complementary
#5D74F7 #F7935D #C1F75D
monochromatic
#0A28CF #2342F4 #5D74F7 #97A6FA #D2D8FD

Accessibility & contrast

On white

3.96
#5D74F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5D74F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74F7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74F7#FFFFFF#000000##000000
##5D74F71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1987FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d74f7;
/* rgb */ color: rgb(93, 116, 247);
/* oklch */ color: oklch(61.1% 0.196 271.8);
Tailwind
colors: {
  custom: {
    50: '#999bfb',
    500: '#5d74f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d74f7;
$custom-light: #999bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74f7",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 231.039,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.19616,
    "h": 271.8
  },
  "luminance": 0.21533
}

Semantic roles & 50–950 ramp

primary
#5D74F7
secondary
#F1E9BF
accent
#C300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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