#5C74E1#5C74E1

#5C74E1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.167 H 271.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5C74E1
RGBrgb(92, 116, 225)
HSLhsl(229, 69%, 62%)
HSVhsv(229, 59%, 88%)
CMYKcmyk(59.1%, 48.4%, 0%, 11.8%)
CIE-LABlab(52.06, 23.73, -58.37)
CIE-LCHlch(52.06, 63.00, 292.12°)
OKLaboklab(59.56% 0.0035 -0.1669)
OKLCHoklch(59.56% 0.167 271.2)
XYZxyz(24.2451, 20.2004, 73.8410)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74E1 #E1C95C
analogous
#5CB7E1 #5C74E1 #875CE1
triadic
#5C74E1 #E15C74 #74E15C
tetradic
#5C74E1 #E15CB7 #E1C95C #5CE187
square
#5C74E1 #E15CB7 #E1C95C #5CE187
split-complementary
#5C74E1 #E1875C #B7E15C
monochromatic
#1E36A4 #2848D7 #5C74E1 #90A0EB #C3CCF4

Accessibility & contrast

On white

4.17
#5C74E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5C74E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74E1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74E1#FFFFFF#000000##000000
##5C74E11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C82E5
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c74e1;
/* rgb */ color: rgb(92, 116, 225);
/* oklch */ color: oklch(59.6% 0.167 271.2);
Tailwind
colors: {
  custom: {
    50: '#959beb',
    500: '#5c74e1',
    950: '#000000',
  },
}
SCSS
$custom: #5c74e1;
$custom-light: #959beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74e1",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 229.173,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.1669,
    "h": 271.2
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#5C74E1
secondary
#E5DCB4
accent
#AF15D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C74E1

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

Preview Lab → · Contrast checker → · Palette generator →

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