#5C74DC#5C74DC

#5C74DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.160 H 271.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5C74DC
RGBrgb(92, 116, 220)
HSLhsl(229, 65%, 61%)
HSVhsv(229, 58%, 86%)
CMYKcmyk(58.2%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.76, 22.08, -56.03)
CIE-LCHlch(51.76, 60.23, 291.50°)
OKLaboklab(59.23% 0.0029 -0.16)
OKLCHoklch(59.23% 0.16 271)
XYZxyz(23.5730, 19.9316, 70.3012)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74DC #DCC45C
analogous
#5CB4DC #5C74DC #845CDC
triadic
#5C74DC #DC5C74 #74DC5C
tetradic
#5C74DC #DC5CB4 #DCC45C #5CDC84
square
#5C74DC #DC5CB4 #DCC45C #5CDC84
split-complementary
#5C74DC #DC845C #B4DC5C
monochromatic
#22389C #2C4BCE #5C74DC #8E9FE7 #C1CAF2

Accessibility & contrast

On white

4.21
#5C74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5C74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74DC#FFFFFF#000000##000000
##5C74DC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c74dc;
/* rgb */ color: rgb(92, 116, 220);
/* oklch */ color: oklch(59.2% 0.160 271.0);
Tailwind
colors: {
  custom: {
    50: '#949be7',
    500: '#5c74dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c74dc;
$custom-light: #949be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74dc",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 228.75,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.16003,
    "h": 271
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#5C74DC
secondary
#E2D9B2
accent
#AB19CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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