#5A72E8#5A72E8

#5A72E8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.179 H 271.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5A72E8
RGBrgb(90, 114, 232)
HSLhsl(230, 76%, 63%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(61.2%, 50.9%, 0%, 9%)
CIE-LABlab(51.87, 26.92, -62.61)
CIE-LCHlch(51.87, 68.15, 293.27°)
OKLaboklab(59.53% 0.0041 -0.1794)
OKLCHoklch(59.53% 0.179 271.3)
XYZxyz(24.7944, 20.0324, 78.8883)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72E8 #E8D05A
analogous
#5AB9E8 #5A72E8 #895AE8
triadic
#5A72E8 #E85A72 #72E85A
tetradic
#5A72E8 #E85AB9 #E8D05A #5AE889
square
#5A72E8 #E85AB9 #E8D05A #5AE889
split-complementary
#5A72E8 #E8895A #B9E85A
monochromatic
#1832AF #2444E1 #5A72E8 #90A0EF #C5CEF7

Accessibility & contrast

On white

4.19
#5A72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5A72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72E8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72E8#FFFFFF#000000##000000
##5A72E81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a72e8;
/* rgb */ color: rgb(90, 114, 232);
/* oklch */ color: oklch(59.5% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#959af0',
    500: '#5a72e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a72e8;
$custom-light: #959af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72e8",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 229.859,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.17945,
    "h": 271.3
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#5A72E8
secondary
#E8E0B5
accent
#B60ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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