#5B72A2#5B72A2

#5B72A2 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.4% C 0.080 H 264.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B72A2
RGBrgb(91, 114, 162)
HSLhsl(221, 28%, 50%)
HSVhsv(221, 44%, 64%)
CMYKcmyk(43.8%, 29.6%, 0%, 36.5%)
CIE-LABlab(48.09, 4.63, -28.49)
CIE-LCHlch(48.09, 28.86, 279.24°)
OKLaboklab(55.4% -0.0079 -0.0796)
OKLCHoklch(55.4% 0.08 264.3)
XYZxyz(16.8512, 16.8665, 36.5430)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72A2 #A28B5B
analogous
#5B96A2 #5B72A2 #685BA2
triadic
#5B72A2 #A25B72 #72A25B
tetradic
#5B72A2 #A25B96 #A28B5B #5BA268
square
#5B72A2 #A25B96 #A28B5B #5BA268
split-complementary
#5B72A2 #A2685B #96A25B
monochromatic
#2F3B54 #45567B #5B72A2 #8293B9 #A9B5CF

Accessibility & contrast

On white

4.80
#5B72A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5B72A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B72A2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72A2#FFFFFF#000000##FFFFFF
##5B72A21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6176A4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#427C83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b72a2;
/* rgb */ color: rgb(91, 114, 162);
/* oklch */ color: oklch(55.4% 0.080 264.3);
Tailwind
colors: {
  custom: {
    50: '#8c9abd',
    500: '#5b72a2',
    950: '#000000',
  },
}
SCSS
$custom: #5b72a2;
$custom-light: #8c9abd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72a2",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 220.563,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.08002,
    "h": 264.3
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#5B72A2
secondary
#BDB29C
accent
#A563C4
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5B72A2

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

Preview Lab → · Contrast checker → · Palette generator →

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