#5D72F0#5D72F0

#5D72F0 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.189 H 272.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5D72F0
RGBrgb(93, 114, 240)
HSLhsl(231, 83%, 65%)
HSVhsv(231, 61%, 94%)
CMYKcmyk(61.2%, 52.5%, 0%, 5.9%)
CIE-LABlab(52.57, 30.09, -65.96)
CIE-LCHlch(52.57, 72.50, 294.52°)
OKLaboklab(60.26% 0.0077 -0.1892)
OKLCHoklch(60.26% 0.189 272.3)
XYZxyz(26.2545, 20.6509, 85.0236)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72F0 #F0DB5D
analogous
#5DBBF0 #5D72F0 #925DF0
triadic
#5D72F0 #F05D72 #72F05D
tetradic
#5D72F0 #F05DBB #F0DB5D #5DF092
square
#5D72F0 #F05DBB #F0DB5D #5DF092
split-complementary
#5D72F0 #F0925D #BBF05D
monochromatic
#122BC1 #2541EB #5D72F0 #95A3F5 #CDD4FA

Accessibility & contrast

On white

4.09
#5D72F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5D72F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72F0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72F0#FFFFFF#000000##000000
##5D72F01.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d72f0;
/* rgb */ color: rgb(93, 114, 240);
/* oklch */ color: oklch(60.3% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#989af6',
    500: '#5d72f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d72f0;
$custom-light: #989af6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72f0",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 231.429,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.18935,
    "h": 272.3
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#5D72F0
secondary
#EDE6BC
accent
#C006DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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