#5A72BF#5A72BF

#5A72BF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.122 H 269.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A72BF
RGBrgb(90, 114, 191)
HSLhsl(226, 44%, 55%)
HSVhsv(226, 53%, 75%)
CMYKcmyk(52.9%, 40.3%, 0%, 25.1%)
CIE-LABlab(49.46, 13.43, -43.18)
CIE-LCHlch(49.46, 45.22, 287.27°)
OKLaboklab(56.91% -0.0017 -0.1224)
OKLCHoklch(56.91% 0.122 269.2)
XYZxyz(19.6347, 17.9685, 51.7137)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72BF #BFA75A
analogous
#5AA4BF #5A72BF #755ABF
triadic
#5A72BF #BF5A72 #72BF5A
tetradic
#5A72BF #BF5AA4 #BFA75A #5ABF75
square
#5A72BF #BF5AA4 #BFA75A #5ABF75
split-complementary
#5A72BF #BF755A #A4BF5A
monochromatic
#2C3D72 #3D549E #5A72BF #8698D0 #B2BDE1

Accessibility & contrast

On white

4.57
#5A72BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5A72BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72BF#FFFFFF#000000##000000
##5A72BF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#29838F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a72bf;
/* rgb */ color: rgb(90, 114, 191);
/* oklch */ color: oklch(56.9% 0.122 269.2);
Tailwind
colors: {
  custom: {
    50: '#8f9ad3',
    500: '#5a72bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a72bf;
$custom-light: #8f9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72bf",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 225.743,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.12238,
    "h": 269.2
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#5A72BF
secondary
#D0C6A5
accent
#B554D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A72BF

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

Preview Lab → · Contrast checker → · Palette generator →

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