#5B72DA#5B72DA

#5B72DA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.160 H 271.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5B72DA
RGBrgb(91, 114, 218)
HSLhsl(229, 63%, 61%)
HSVhsv(229, 58%, 85%)
CMYKcmyk(58.3%, 47.7%, 0%, 14.5%)
CIE-LABlab(51.06, 22.45, -56.03)
CIE-LCHlch(51.06, 60.36, 291.84°)
OKLaboklab(58.65% 0.0037 -0.16)
OKLCHoklch(58.65% 0.16 271.3)
XYZxyz(22.9824, 19.3189, 68.8339)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72DA #DAC35B
analogous
#5BB1DA #5B72DA #835BDA
triadic
#5B72DA #DA5B72 #72DA5B
tetradic
#5B72DA #DA5BB1 #DAC35B #5BDA83
square
#5B72DA #DA5BB1 #DAC35B #5BDA83
split-complementary
#5B72DA #DA835B #B1DA5B
monochromatic
#223898 #2E4ACA #5B72DA #8D9DE5 #BFC8F1

Accessibility & contrast

On white

4.32
#5B72DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5B72DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72DA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72DA#FFFFFF#000000##000000
##5B72DA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDE
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b72da;
/* rgb */ color: rgb(91, 114, 218);
/* oklch */ color: oklch(58.6% 0.160 271.3);
Tailwind
colors: {
  custom: {
    50: '#939ae6',
    500: '#5b72da',
    950: '#000000',
  },
}
SCSS
$custom: #5b72da;
$custom-light: #939ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72da",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 229.134,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.16008,
    "h": 271.3
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#5B72DA
secondary
#E1D8B0
accent
#AB1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B72DA

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

Preview Lab → · Contrast checker → · Palette generator →

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