#5B72DF#5B72DF

#5B72DF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.0% C 0.167 H 271.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B72DF
RGBrgb(91, 114, 223)
HSLhsl(230, 67%, 62%)
HSVhsv(230, 59%, 87%)
CMYKcmyk(59.2%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.36, 24.11, -58.36)
CIE-LCHlch(51.36, 63.15, 292.44°)
OKLaboklab(58.98% 0.0042 -0.1669)
OKLCHoklch(58.98% 0.167 271.5)
XYZxyz(23.6466, 19.5846, 72.3318)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72DF #DFC85B
analogous
#5BB4DF #5B72DF #865BDF
triadic
#5B72DF #DF5B72 #72DF5B
tetradic
#5B72DF #DF5BB4 #DFC85B #5BDF86
square
#5B72DF #DF5BB4 #DFC85B #5BDF86
split-complementary
#5B72DF #DF865B #B4DF5B
monochromatic
#1F36A0 #2947D4 #5B72DF #8E9EE9 #C1CAF3

Accessibility & contrast

On white

4.27
#5B72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5B72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72DF#FFFFFF#000000##000000
##5B72DF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E3
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b72df;
/* rgb */ color: rgb(91, 114, 223);
/* oklch */ color: oklch(59.0% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#949aea',
    500: '#5b72df',
    950: '#000000',
  },
}
SCSS
$custom: #5b72df;
$custom-light: #949aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72df",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 229.545,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.16695,
    "h": 271.5
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#5B72DF
secondary
#E3DBB2
accent
#AF16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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