#5B72BC#5B72BC

#5B72BC is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.8% C 0.118 H 269.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5B72BC
RGBrgb(91, 114, 188)
HSLhsl(226, 42%, 55%)
HSVhsv(226, 52%, 74%)
CMYKcmyk(51.6%, 39.4%, 0%, 26.3%)
CIE-LABlab(49.36, 12.69, -41.61)
CIE-LCHlch(49.36, 43.50, 286.97°)
OKLaboklab(56.8% -0.0013 -0.1177)
OKLCHoklch(56.8% 0.118 269.4)
XYZxyz(19.4058, 17.8883, 49.9974)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72BC #BCA55B
analogous
#5BA3BC #5B72BC #755BBC
triadic
#5B72BC #BC5B72 #72BC5B
tetradic
#5B72BC #BC5BA3 #BCA55B #5BBC75
square
#5B72BC #BC5BA3 #BCA55B #5BBC75
split-complementary
#5B72BC #BC755B #A3BC5B
monochromatic
#2D3D6F #3F559B #5B72BC #8697CE #B2BDE0

Accessibility & contrast

On white

4.59
#5B72BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5B72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B72BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72BC#FFFFFF#000000##FFFFFF
##5B72BC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b72bc;
/* rgb */ color: rgb(91, 114, 188);
/* oklch */ color: oklch(56.8% 0.118 269.4);
Tailwind
colors: {
  custom: {
    50: '#8f9ad0',
    500: '#5b72bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b72bc;
$custom-light: #8f9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72bc",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 225.773,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.11775,
    "h": 269.4
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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