#5C74EC#5C74EC

#5C74EC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.182 H 271.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C74EC
RGBrgb(92, 116, 236)
HSLhsl(230, 79%, 64%)
HSVhsv(230, 61%, 93%)
CMYKcmyk(61%, 50.8%, 0%, 7.5%)
CIE-LABlab(52.75, 27.37, -63.42)
CIE-LCHlch(52.75, 69.08, 293.34°)
OKLaboklab(60.3% 0.0045 -0.1817)
OKLCHoklch(60.3% 0.182 271.4)
XYZxyz(25.7943, 20.8201, 82.0000)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74EC #ECD45C
analogous
#5CBCEC #5C74EC #8C5CEC
triadic
#5C74EC #EC5C74 #74EC5C
tetradic
#5C74EC #EC5CBC #ECD45C #5CEC8C
square
#5C74EC #EC5CBC #ECD45C #5CEC8C
split-complementary
#5C74EC #EC8C5C #BCEC5C
monochromatic
#1531B8 #2545E6 #5C74EC #93A3F2 #CAD1F9

Accessibility & contrast

On white

4.07
#5C74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5C74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74EC#FFFFFF#000000##000000
##5C74EC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c74ec;
/* rgb */ color: rgb(92, 116, 236);
/* oklch */ color: oklch(60.3% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#979bf3',
    500: '#5c74ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c74ec;
$custom-light: #979bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74ec",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 230,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.1818,
    "h": 271.4
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#5C74EC
secondary
#EBE3B9
accent
#B90ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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