#5D72E9#5D72E9

#5D72E9 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.180 H 272.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5D72E9
RGBrgb(93, 114, 233)
HSLhsl(231, 76%, 64%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(60.1%, 51.1%, 0%, 8.6%)
CIE-LABlab(52.11, 27.78, -62.78)
CIE-LCHlch(52.11, 68.65, 293.87°)
OKLaboklab(59.77% 0.0072 -0.1798)
OKLCHoklch(59.77% 0.18 272.3)
XYZxyz(25.2346, 20.2429, 79.6525)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72E9 #E9D45D
analogous
#5DB8E9 #5D72E9 #8E5DE9
triadic
#5D72E9 #E95D72 #72E95D
tetradic
#5D72E9 #E95DB8 #E9D45D #5DE98E
square
#5D72E9 #E95DB8 #E9D45D #5DE98E
split-complementary
#5D72E9 #E98E5D #B8E95D
monochromatic
#1830B3 #2743E2 #5D72E9 #93A1F0 #C9D0F8

Accessibility & contrast

On white

4.16
#5D72E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5D72E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72E9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72E9#FFFFFF#000000##000000
##5D72E91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d72e9;
/* rgb */ color: rgb(93, 114, 233);
/* oklch */ color: oklch(59.8% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#979af1',
    500: '#5d72e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d72e9;
$custom-light: #979af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72e9",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 231,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.17998,
    "h": 272.3
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#5D72E9
secondary
#E9E2B8
accent
#BA0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D72E9

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

Preview Lab → · Contrast checker → · Palette generator →

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