#5A72DD#5A72DD

#5A72DD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.165 H 271.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A72DD
RGBrgb(90, 114, 221)
HSLhsl(229, 66%, 61%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(59.3%, 48.4%, 0%, 13.3%)
CIE-LABlab(51.18, 23.26, -57.53)
CIE-LCHlch(51.18, 62.05, 292.01°)
OKLaboklab(58.78% 0.003 -0.1645)
OKLCHoklch(58.78% 0.165 271)
XYZxyz(23.2806, 19.4269, 70.9155)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72DD #DDC55A
analogous
#5AB3DD #5A72DD #835ADD
triadic
#5A72DD #DD5A72 #72DD5A
tetradic
#5A72DD #DD5AB3 #DDC55A #5ADD83
square
#5A72DD #DD5AB3 #DDC55A #5ADD83
split-complementary
#5A72DD #DD835A #B3DD5A
monochromatic
#20379C #2B49CF #5A72DD #8D9DE7 #BFC9F2

Accessibility & contrast

On white

4.30
#5A72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5A72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72DD#FFFFFF#000000##000000
##5A72DD1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#2474DB
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a72dd;
/* rgb */ color: rgb(90, 114, 221);
/* oklch */ color: oklch(58.8% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#939ae8',
    500: '#5a72dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a72dd;
$custom-light: #939ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72dd",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 229.008,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.1645,
    "h": 271
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#5A72DD
secondary
#E2D9B1
accent
#AC18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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