#5A72BB#5A72BB

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

Color values

HEX#5A72BB
RGBrgb(90, 114, 187)
HSLhsl(225, 42%, 54%)
HSVhsv(225, 52%, 73%)
CMYKcmyk(51.9%, 39%, 0%, 26.7%)
CIE-LABlab(49.25, 12.14, -41.22)
CIE-LCHlch(49.25, 42.97, 286.42°)
OKLaboklab(56.68% -0.0026 -0.1166)
OKLCHoklch(56.68% 0.117 268.7)
XYZxyz(19.2005, 17.7948, 49.4271)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72BB #BBA35A
analogous
#5AA3BB #5A72BB #735ABB
triadic
#5A72BB #BB5A72 #72BB5A
tetradic
#5A72BB #BB5AA3 #BBA35A #5ABB73
square
#5A72BB #BB5AA3 #BBA35A #5ABB73
split-complementary
#5A72BB #BB735A #A3BB5A
monochromatic
#2D3D6D #3F5599 #5A72BB #8597CD #B1BCDF

Accessibility & contrast

On white

4.61
#5A72BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5A72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A72BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72BB#FFFFFF#000000##FFFFFF
##5A72BB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#2D828D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a72bb;
/* rgb */ color: rgb(90, 114, 187);
/* oklch */ color: oklch(56.7% 0.117 268.7);
Tailwind
colors: {
  custom: {
    50: '#8f9ad0',
    500: '#5a72bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a72bb;
$custom-light: #8f9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72bb",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 225.155,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.11664,
    "h": 268.7
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#5A72BB
secondary
#CDC3A4
accent
#B356D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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