#5C72EC#5C72EC

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

Color values

HEX#5C72EC
RGBrgb(92, 114, 236)
HSLhsl(231, 79%, 64%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(61%, 51.7%, 0%, 7.5%)
CIE-LABlab(52.25, 28.60, -64.24)
CIE-LCHlch(52.25, 70.32, 294.00°)
OKLaboklab(59.92% 0.0064 -0.1842)
OKLCHoklch(59.92% 0.184 272)
XYZxyz(25.5662, 20.3639, 81.9240)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C72EC #ECD65C
analogous
#5CBAEC #5C72EC #8E5CEC
triadic
#5C72EC #EC5C72 #72EC5C
tetradic
#5C72EC #EC5CBA #ECD65C #5CEC8E
square
#5C72EC #EC5CBA #ECD65C #5CEC8E
split-complementary
#5C72EC #EC8E5C #BAEC5C
monochromatic
#152EB8 #2543E6 #5C72EC #93A1F2 #CAD1F9

Accessibility & contrast

On white

4.14
#5C72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5C72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C72EC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C72EC#FFFFFF#000000##000000
##5C72EC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c72ec;
/* rgb */ color: rgb(92, 114, 236);
/* oklch */ color: oklch(59.9% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#979af3',
    500: '#5c72ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c72ec;
$custom-light: #979af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c72ec",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 230.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.18427,
    "h": 272
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#5C72EC
secondary
#EBE3B9
accent
#BB0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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