#5A72EB#5A72EB

#5A72EB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.7% C 0.183 H 271.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A72EB
RGBrgb(90, 114, 235)
HSLhsl(230, 78%, 64%)
HSVhsv(230, 62%, 92%)
CMYKcmyk(61.7%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.07, 27.92, -63.98)
CIE-LCHlch(52.07, 69.80, 293.58°)
OKLaboklab(59.74% 0.0043 -0.1834)
OKLCHoklch(59.74% 0.183 271.4)
XYZxyz(25.2241, 20.2043, 81.1517)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72EB #EBD35A
analogous
#5ABAEB #5A72EB #8A5AEB
triadic
#5A72EB #EB5A72 #72EB5A
tetradic
#5A72EB #EB5ABA #EBD35A #5AEB8A
square
#5A72EB #EB5ABA #EBD35A #5AEB8A
split-complementary
#5A72EB #EB8A5A #BAEB5A
monochromatic
#1630B5 #2343E4 #5A72EB #91A1F2 #C7CFF8

Accessibility & contrast

On white

4.17
#5A72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5A72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72EB#FFFFFF#000000##000000
##5A72EB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a72eb;
/* rgb */ color: rgb(90, 114, 235);
/* oklch */ color: oklch(59.7% 0.183 271.4);
Tailwind
colors: {
  custom: {
    50: '#969af2',
    500: '#5a72eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a72eb;
$custom-light: #969af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72eb",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 230.069,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.18348,
    "h": 271.4
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#5A72EB
secondary
#EAE2B7
accent
#B80BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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