#5C74ED#5C74ED

#5C74ED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.183 H 271.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5C74ED
RGBrgb(92, 116, 237)
HSLhsl(230, 80%, 65%)
HSVhsv(230, 61%, 93%)
CMYKcmyk(61.2%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.82, 27.70, -63.88)
CIE-LCHlch(52.82, 69.63, 293.45°)
OKLaboklab(60.37% 0.0046 -0.1831)
OKLCHoklch(60.37% 0.183 271.4)
XYZxyz(25.9400, 20.8783, 82.7673)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74ED #EDD55C
analogous
#5CBDED #5C74ED #8D5CED
triadic
#5C74ED #ED5C74 #74ED5C
tetradic
#5C74ED #ED5CBD #EDD55C #5CED8D
square
#5C74ED #ED5CBD #EDD55C #5CED8D
split-complementary
#5C74ED #ED8D5C #BDED5C
monochromatic
#1530BA #2545E7 #5C74ED #93A3F3 #CAD2F9

Accessibility & contrast

On white

4.06
#5C74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5C74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74ED#FFFFFF#000000##000000
##5C74ED1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c74ed;
/* rgb */ color: rgb(92, 116, 237);
/* oklch */ color: oklch(60.4% 0.183 271.4);
Tailwind
colors: {
  custom: {
    50: '#979bf4',
    500: '#5c74ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c74ed;
$custom-light: #979bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74ed",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 230.069,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60371,
    "c": 0.18314,
    "h": 271.4
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#5C74ED
secondary
#EBE3B9
accent
#B909DC
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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