#5C72EB#5C72EB

#5C72EB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.183 H 272.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5C72EB
RGBrgb(92, 114, 235)
HSLhsl(231, 78%, 64%)
HSVhsv(231, 61%, 92%)
CMYKcmyk(60.9%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.18, 28.26, -63.79)
CIE-LCHlch(52.18, 69.77, 293.90°)
OKLaboklab(59.85% 0.0064 -0.1828)
OKLCHoklch(59.85% 0.183 272)
XYZxyz(25.4214, 20.3060, 81.1610)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C72EB #EBD55C
analogous
#5CBAEB #5C72EB #8E5CEB
triadic
#5C72EB #EB5C72 #72EB5C
tetradic
#5C72EB #EB5CBA #EBD55C #5CEB8E
square
#5C72EB #EB5CBA #EBD55C #5CEB8E
split-complementary
#5C72EB #EB8E5C #BAEB5C
monochromatic
#162FB6 #2543E4 #5C72EB #93A1F2 #C9D0F8

Accessibility & contrast

On white

4.15
#5C72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5C72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C72EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C72EB#FFFFFF#000000##000000
##5C72EB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c72eb;
/* rgb */ color: rgb(92, 114, 235);
/* oklch */ color: oklch(59.9% 0.183 272.0);
Tailwind
colors: {
  custom: {
    50: '#979af2',
    500: '#5c72eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c72eb;
$custom-light: #979af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c72eb",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 230.769,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.18294,
    "h": 272
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#5C72EB
secondary
#EAE3B8
accent
#BB0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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