#5C72ED#5C72ED

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

Color values

HEX#5C72ED
RGBrgb(92, 114, 237)
HSLhsl(231, 80%, 65%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(61.2%, 51.9%, 0%, 7.1%)
CIE-LABlab(52.31, 28.93, -64.69)
CIE-LCHlch(52.31, 70.87, 294.09°)
OKLaboklab(59.99% 0.0065 -0.1855)
OKLCHoklch(59.99% 0.186 272)
XYZxyz(25.7119, 20.4222, 82.6913)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C72ED #EDD75C
analogous
#5CBAED #5C72ED #8F5CED
triadic
#5C72ED #ED5C72 #72ED5C
tetradic
#5C72ED #ED5CBA #EDD75C #5CED8F
square
#5C72ED #ED5CBA #EDD75C #5CED8F
split-complementary
#5C72ED #ED8F5C #BAED5C
monochromatic
#152EBA #2542E7 #5C72ED #93A2F3 #CAD1F9

Accessibility & contrast

On white

4.13
#5C72ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5C72ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C72ED
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C72ED#FFFFFF#000000##000000
##5C72ED1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F1
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c72ed;
/* rgb */ color: rgb(92, 114, 237);
/* oklch */ color: oklch(60.0% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#979af4',
    500: '#5c72ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c72ed;
$custom-light: #979af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c72ed",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 230.897,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59991,
    "c": 0.18561,
    "h": 272
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#5C72ED
secondary
#EBE4B9
accent
#BC09DC
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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