#5A72E1#5A72E1

#5A72E1 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.170 H 271.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A72E1
RGBrgb(90, 114, 225)
HSLhsl(229, 69%, 62%)
HSVhsv(229, 60%, 88%)
CMYKcmyk(60%, 49.3%, 0%, 11.8%)
CIE-LABlab(51.43, 24.59, -59.39)
CIE-LCHlch(51.43, 64.28, 292.49°)
OKLaboklab(59.05% 0.0034 -0.1699)
OKLCHoklch(59.05% 0.17 271.2)
XYZxyz(23.8198, 19.6426, 73.7557)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72E1 #E1C95A
analogous
#5AB6E1 #5A72E1 #865AE1
triadic
#5A72E1 #E15A72 #72E15A
tetradic
#5A72E1 #E15AB6 #E1C95A #5AE186
square
#5A72E1 #E15AB6 #E1C95A #5AE186
split-complementary
#5A72E1 #E1865A #B6E15A
monochromatic
#1E35A3 #2746D7 #5A72E1 #8E9EEA #C2CBF4

Accessibility & contrast

On white

4.26
#5A72E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5A72E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72E1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72E1#FFFFFF#000000##000000
##5A72E11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E5
Deuteranopia (green-blind)
#1B75DF
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a72e1;
/* rgb */ color: rgb(90, 114, 225);
/* oklch */ color: oklch(59.1% 0.170 271.2);
Tailwind
colors: {
  custom: {
    50: '#949aeb',
    500: '#5a72e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a72e1;
$custom-light: #949aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72e1",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 229.333,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.16996,
    "h": 271.2
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#5A72E1
secondary
#E4DCB2
accent
#B014D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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