#5A72BC#5A72BC

#5A72BC is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.7% C 0.118 H 268.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A72BC
RGBrgb(90, 114, 188)
HSLhsl(225, 42%, 55%)
HSVhsv(225, 52%, 74%)
CMYKcmyk(52.1%, 39.4%, 0%, 26.3%)
CIE-LABlab(49.30, 12.46, -41.71)
CIE-LCHlch(49.30, 43.53, 286.64°)
OKLaboklab(56.73% -0.0023 -0.118)
OKLCHoklch(56.73% 0.118 268.9)
XYZxyz(19.3079, 17.8378, 49.9928)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72BC #BCA45A
analogous
#5AA3BC #5A72BC #735ABC
triadic
#5A72BC #BC5A72 #72BC5A
tetradic
#5A72BC #BC5AA3 #BCA45A #5ABC73
square
#5A72BC #BC5AA3 #BCA45A #5ABC73
split-complementary
#5A72BC #BC735A #A3BC5A
monochromatic
#2D3D6F #3F559A #5A72BC #8697CE #B1BCDF

Accessibility & contrast

On white

4.60
#5A72BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5A72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A72BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72BC#FFFFFF#000000##FFFFFF
##5A72BC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#2C828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a72bc;
/* rgb */ color: rgb(90, 114, 188);
/* oklch */ color: oklch(56.7% 0.118 268.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ad0',
    500: '#5a72bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a72bc;
$custom-light: #8f9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72bc",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 225.306,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.11807,
    "h": 268.9
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

primary
#5A72BC
secondary
#CEC3A4
accent
#B456D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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