#5A72DF#5A72DF

#5A72DF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.167 H 271.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5A72DF
RGBrgb(90, 114, 223)
HSLhsl(229, 68%, 61%)
HSVhsv(229, 60%, 87%)
CMYKcmyk(59.6%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.31, 23.92, -58.46)
CIE-LCHlch(51.31, 63.17, 292.25°)
OKLaboklab(58.92% 0.0032 -0.1672)
OKLCHoklch(58.92% 0.167 271.1)
XYZxyz(23.5486, 19.5341, 72.3272)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72DF #DFC75A
analogous
#5AB5DF #5A72DF #855ADF
triadic
#5A72DF #DF5A72 #72DF5A
tetradic
#5A72DF #DF5AB5 #DFC75A #5ADF85
square
#5A72DF #DF5AB5 #DFC75A #5ADF85
split-complementary
#5A72DF #DF855A #B5DF5A
monochromatic
#1F36A0 #2948D3 #5A72DF #8D9EE9 #C1CAF3

Accessibility & contrast

On white

4.28
#5A72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5A72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72DF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72DF#FFFFFF#000000##000000
##5A72DF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a72df;
/* rgb */ color: rgb(90, 114, 223);
/* oklch */ color: oklch(58.9% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#949aea',
    500: '#5a72df',
    950: '#000000',
  },
}
SCSS
$custom: #5a72df;
$custom-light: #949aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72df",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 229.173,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58916,
    "c": 0.16724,
    "h": 271.1
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

primary
#5A72DF
secondary
#E3DAB2
accent
#AE16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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