#5B72C8#5B72C8

#5B72C8 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.5% C 0.135 H 270.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5B72C8
RGBrgb(91, 114, 200)
HSLhsl(227, 50%, 57%)
HSVhsv(227, 55%, 78%)
CMYKcmyk(54.5%, 43%, 0%, 21.6%)
CIE-LABlab(50.01, 16.56, -47.47)
CIE-LCHlch(50.01, 50.27, 289.23°)
OKLaboklab(57.51% 0.001 -0.1349)
OKLCHoklch(57.51% 0.135 270.4)
XYZxyz(20.7536, 18.4274, 57.0956)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72C8 #C8B15B
analogous
#5BA9C8 #5B72C8 #7A5BC8
triadic
#5B72C8 #C85B72 #72C85B
tetradic
#5B72C8 #C85BA9 #C8B15B #5BC87A
square
#5B72C8 #C85BA9 #C8B15B #5BC87A
split-complementary
#5B72C8 #C87A5B #A9C85B
monochromatic
#2A3C7E #3A52AC #5B72C8 #8999D7 #B7C1E7

Accessibility & contrast

On white

4.48
#5B72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5B72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72C8#FFFFFF#000000##000000
##5B72C81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCB
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#218593
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b72c8;
/* rgb */ color: rgb(91, 114, 200);
/* oklch */ color: oklch(57.5% 0.135 270.4);
Tailwind
colors: {
  custom: {
    50: '#919ad9',
    500: '#5b72c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b72c8;
$custom-light: #919ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72c8",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 227.339,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.13489,
    "h": 270.4
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#5B72C8
secondary
#D6CCA9
accent
#BC4FD9
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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