#5B72DD#5B72DD

#5B72DD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.164 H 271.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B72DD
RGBrgb(91, 114, 221)
HSLhsl(229, 66%, 61%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(58.8%, 48.4%, 0%, 13.3%)
CIE-LABlab(51.24, 23.45, -57.43)
CIE-LCHlch(51.24, 62.03, 292.21°)
OKLaboklab(58.84% 0.004 -0.1642)
OKLCHoklch(58.84% 0.164 271.4)
XYZxyz(23.3785, 19.4774, 70.9201)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72DD #DDC65B
analogous
#5BB3DD #5B72DD #855BDD
triadic
#5B72DD #DD5B72 #72DD5B
tetradic
#5B72DD #DD5BB3 #DDC65B #5BDD85
square
#5B72DD #DD5BB3 #DDC65B #5BDD85
split-complementary
#5B72DD #DD855B #B3DD5B
monochromatic
#21379D #2B48D0 #5B72DD #8E9EE8 #C0C9F2

Accessibility & contrast

On white

4.29
#5B72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5B72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72DD#FFFFFF#000000##000000
##5B72DD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#2575DB
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b72dd;
/* rgb */ color: rgb(91, 114, 221);
/* oklch */ color: oklch(58.8% 0.164 271.4);
Tailwind
colors: {
  custom: {
    50: '#949ae8',
    500: '#5b72dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b72dd;
$custom-light: #949ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72dd",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 229.385,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.16421,
    "h": 271.4
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#5B72DD
secondary
#E2DAB1
accent
#AD18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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