#5C74EB#5C74EB

#5C74EB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.180 H 271.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5C74EB
RGBrgb(92, 116, 235)
HSLhsl(230, 78%, 64%)
HSVhsv(230, 61%, 92%)
CMYKcmyk(60.9%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.69, 27.04, -62.97)
CIE-LCHlch(52.69, 68.53, 293.24°)
OKLaboklab(60.23% 0.0045 -0.1804)
OKLCHoklch(60.23% 0.18 271.4)
XYZxyz(25.6494, 20.7621, 81.2370)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74EB #EBD35C
analogous
#5CBCEB #5C74EB #8C5CEB
triadic
#5C74EB #EB5C74 #74EB5C
tetradic
#5C74EB #EB5CBC #EBD35C #5CEB8C
square
#5C74EB #EB5CBC #EBD35C #5CEB8C
split-complementary
#5C74EB #EB8C5C #BCEB5C
monochromatic
#1631B6 #2546E4 #5C74EB #93A2F2 #C9D1F8

Accessibility & contrast

On white

4.08
#5C74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5C74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C74EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C74EB#FFFFFF#000000##000000
##5C74EB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#0178E9
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c74eb;
/* rgb */ color: rgb(92, 116, 235);
/* oklch */ color: oklch(60.2% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#979bf2',
    500: '#5c74eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c74eb;
$custom-light: #979bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74eb",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 229.93,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.18045,
    "h": 271.4
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#5C74EB
secondary
#EAE2B8
accent
#B80BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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