#5C72E7#5C72E7

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

Color values

HEX#5C72E7
RGBrgb(92, 114, 231)
HSLhsl(231, 74%, 63%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(60.2%, 50.6%, 0%, 9.4%)
CIE-LABlab(51.92, 26.94, -61.96)
CIE-LCHlch(51.92, 67.56, 293.50°)
OKLaboklab(59.58% 0.006 -0.1774)
OKLCHoklch(59.58% 0.178 271.9)
XYZxyz(24.8500, 20.0774, 78.1516)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C72E7 #E7D15C
analogous
#5CB7E7 #5C72E7 #8B5CE7
triadic
#5C72E7 #E75C72 #72E75C
tetradic
#5C72E7 #E75CB7 #E7D15C #5CE78B
square
#5C72E7 #E75CB7 #E7D15C #5CE78B
split-complementary
#5C72E7 #E78B5C #B7E75C
monochromatic
#1A31AF #2744DF #5C72E7 #91A0EF #C7CEF7

Accessibility & contrast

On white

4.19
#5C72E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C72E7#FFFFFF#000000##000000
##5C72E71.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#0676E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c72e7;
/* rgb */ color: rgb(92, 114, 231);
/* oklch */ color: oklch(59.6% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#969aef',
    500: '#5c72e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c72e7;
$custom-light: #969aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c72e7",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 230.504,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.17755,
    "h": 271.9
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#5C72E7
secondary
#E8E0B7
accent
#B70FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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