#5A72FF#5A72FF

#5A72FF is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.2% C 0.210 H 271.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5A72FF
RGBrgb(90, 114, 255)
HSLhsl(231, 100%, 68%)
HSVhsv(231, 65%, 100%)
CMYKcmyk(64.7%, 55.3%, 0%, 0%)
CIE-LABlab(53.41, 34.60, -72.92)
CIE-LCHlch(53.41, 80.71, 295.38°)
OKLaboklab(61.17% 0.0054 -0.2097)
OKLCHoklch(61.17% 0.21 271.5)
XYZxyz(28.2777, 21.4257, 97.2337)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72FF #FFE75A
analogous
#5AC4FF #5A72FF #955AFF
triadic
#5A72FF #FF5A72 #72FF5A
tetradic
#5A72FF #FF5AC4 #FFE75A #5AFF95
square
#5A72FF #FF5AC4 #FFE75A #5AFF95
split-complementary
#5A72FF #FF955A #C4FF5A
monochromatic
#0020DF #1D3EFF #5A72FF #97A6FF #D4DBFF

Accessibility & contrast

On white

3.97
#5A72FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5A72FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72FF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72FF#FFFFFF#000000##000000
##5A72FF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0078FC
Tritanopia (blue-blind)
#0094AE
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a72ff;
/* rgb */ color: rgb(90, 114, 255);
/* oklch */ color: oklch(61.2% 0.210 271.5);
Tailwind
colors: {
  custom: {
    50: '#999aff',
    500: '#5a72ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a72ff;
$custom-light: #999aff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72ff",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 231.273,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.20982,
    "h": 271.5
  },
  "luminance": 0.21428
}

Semantic roles & 50–950 ramp

primary
#5A72FF
secondary
#F4EDC1
accent
#C400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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