#5D72EB#5D72EB

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

Color values

HEX#5D72EB
RGBrgb(93, 114, 235)
HSLhsl(231, 78%, 64%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(60.4%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.24, 28.44, -63.69)
CIE-LCHlch(52.24, 69.75, 294.06°)
OKLaboklab(59.91% 0.0074 -0.1825)
OKLCHoklch(59.91% 0.183 272.3)
XYZxyz(25.5219, 20.3579, 81.1657)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72EB #EBD65D
analogous
#5DB9EB #5D72EB #8F5DEB
triadic
#5D72EB #EB5D72 #72EB5D
tetradic
#5D72EB #EB5DB9 #EBD65D #5DEB8F
square
#5D72EB #EB5DB9 #EBD65D #5DEB8F
split-complementary
#5D72EB #EB8F5D #B9EB5D
monochromatic
#172EB7 #2743E4 #5D72EB #93A1F2 #CAD1F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D72EB#FFFFFF#000000##000000
##5D72EB1.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)
#2A83EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d72eb;
/* rgb */ color: rgb(93, 114, 235);
/* oklch */ color: oklch(59.9% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#979af2',
    500: '#5d72eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d72eb;
$custom-light: #979af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72eb",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 231.127,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.18267,
    "h": 272.3
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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