#5D72E1#5D72E1

#5D72E1 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.169 H 272.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D72E1
RGBrgb(93, 114, 225)
HSLhsl(230, 69%, 62%)
HSVhsv(230, 59%, 88%)
CMYKcmyk(58.7%, 49.3%, 0%, 11.8%)
CIE-LABlab(51.61, 25.14, -59.10)
CIE-LCHlch(51.61, 64.22, 293.05°)
OKLaboklab(59.23% 0.0065 -0.169)
OKLCHoklch(59.23% 0.169 272.2)
XYZxyz(24.1176, 19.7961, 73.7697)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72E1 #E1CC5D
analogous
#5DB4E1 #5D72E1 #8A5DE1
triadic
#5D72E1 #E15D72 #72E15D
tetradic
#5D72E1 #E15DB4 #E1CC5D #5DE18A
square
#5D72E1 #E15DB4 #E1CC5D #5DE18A
split-complementary
#5D72E1 #E18A5D #B4E15D
monochromatic
#1F34A5 #2945D7 #5D72E1 #919FEB #C4CCF4

Accessibility & contrast

On white

4.23
#5D72E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5D72E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72E1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72E1#FFFFFF#000000##000000
##5D72E11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E5
Deuteranopia (green-blind)
#1F75DF
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d72e1;
/* rgb */ color: rgb(93, 114, 225);
/* oklch */ color: oklch(59.2% 0.169 272.2);
Tailwind
colors: {
  custom: {
    50: '#969aeb',
    500: '#5d72e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d72e1;
$custom-light: #969aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72e1",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 230.455,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.16913,
    "h": 272.2
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

primary
#5D72E1
secondary
#E5DDB5
accent
#B315D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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