#5C74DF#5C74DF

#5C74DF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.164 H 271.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5C74DF
RGBrgb(92, 116, 223)
HSLhsl(229, 67%, 62%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(58.7%, 48%, 0%, 12.5%)
CIE-LABlab(51.94, 23.07, -57.44)
CIE-LCHlch(51.94, 61.89, 291.88°)
OKLaboklab(59.43% 0.0032 -0.1641)
OKLCHoklch(59.43% 0.164 271.1)
XYZxyz(23.9739, 20.0919, 72.4125)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74DF #DFC75C
analogous
#5CB5DF #5C74DF #865CDF
triadic
#5C74DF #DF5C74 #74DF5C
tetradic
#5C74DF #DF5CB5 #DFC75C #5CDF86
square
#5C74DF #DF5CB5 #DFC75C #5CDF86
split-complementary
#5C74DF #DF865C #B5DF5C
monochromatic
#2037A1 #2A49D4 #5C74DF #8FA0E9 #C2CBF3

Accessibility & contrast

On white

4.18
#5C74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5C74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74DF#FFFFFF#000000##000000
##5C74DF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c74df;
/* rgb */ color: rgb(92, 116, 223);
/* oklch */ color: oklch(59.4% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#959bea',
    500: '#5c74df',
    950: '#000000',
  },
}
SCSS
$custom: #5c74df;
$custom-light: #959bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74df",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 229.008,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.16415,
    "h": 271.1
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#5C74DF
secondary
#E4DBB3
accent
#AD16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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