#5C74E4#5C74E4

#5C74E4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.171 H 271.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5C74E4
RGBrgb(92, 116, 228)
HSLhsl(229, 72%, 63%)
HSVhsv(229, 60%, 89%)
CMYKcmyk(59.6%, 49.1%, 0%, 10.6%)
CIE-LABlab(52.25, 24.72, -59.75)
CIE-LCHlch(52.25, 64.67, 292.47°)
OKLaboklab(59.76% 0.0038 -0.1709)
OKLCHoklch(59.76% 0.171 271.3)
XYZxyz(24.6580, 20.3655, 76.0153)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74E4 #E4CC5C
analogous
#5CB8E4 #5C74E4 #885CE4
triadic
#5C74E4 #E45C74 #74E45C
tetradic
#5C74E4 #E45CB8 #E4CC5C #5CE488
square
#5C74E4 #E45CB8 #E4CC5C #5CE488
split-complementary
#5C74E4 #E4885C #B8E45C
monochromatic
#1C35AA #2747DB #5C74E4 #91A1ED #C5CEF5

Accessibility & contrast

On white

4.14
#5C74E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5C74E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74E4#FFFFFF#000000##000000
##5C74E41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c74e4;
/* rgb */ color: rgb(92, 116, 228);
/* oklch */ color: oklch(59.8% 0.171 271.3);
Tailwind
colors: {
  custom: {
    50: '#959bed',
    500: '#5c74e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c74e4;
$custom-light: #959bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74e4",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 229.412,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.17098,
    "h": 271.3
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#5C74E4
secondary
#E7DEB5
accent
#B112D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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