#5C74F5#5C74F5

#5C74F5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.194 H 271.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5C74F5
RGBrgb(92, 116, 245)
HSLhsl(231, 88%, 66%)
HSVhsv(231, 62%, 96%)
CMYKcmyk(62.4%, 52.7%, 0%, 3.9%)
CIE-LABlab(53.34, 30.36, -67.49)
CIE-LCHlch(53.34, 74.01, 294.22°)
OKLaboklab(60.93% 0.0052 -0.1937)
OKLCHoklch(60.93% 0.194 271.5)
XYZxyz(27.1349, 21.3563, 89.0607)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74F5 #F5DD5C
analogous
#5CC0F5 #5C74F5 #905CF5
triadic
#5C74F5 #F55C74 #74F55C
tetradic
#5C74F5 #F55CC0 #F5DD5C #5CF590
square
#5C74F5 #F55CC0 #F5DD5C #5CF590
split-complementary
#5C74F5 #F5905C #C0F55C
monochromatic
#0C2ACA #2243F1 #5C74F5 #96A5F9 #CFD6FC

Accessibility & contrast

On white

3.98
#5C74F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5C74F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74F5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74F5#FFFFFF#000000##000000
##5C74F51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E86FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c74f5;
/* rgb */ color: rgb(92, 116, 245);
/* oklch */ color: oklch(60.9% 0.194 271.5);
Tailwind
colors: {
  custom: {
    50: '#989bf9',
    500: '#5c74f5',
    950: '#000000',
  },
}
SCSS
$custom: #5c74f5;
$custom-light: #989bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74f5",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 230.588,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.19379,
    "h": 271.5
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#5C74F5
secondary
#F0E8BD
accent
#C100E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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