#5B72EB#5B72EB

#5B72EB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.183 H 271.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B72EB
RGBrgb(91, 114, 235)
HSLhsl(230, 78%, 64%)
HSVhsv(230, 61%, 92%)
CMYKcmyk(61.3%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.12, 28.09, -63.88)
CIE-LCHlch(52.12, 69.78, 293.74°)
OKLaboklab(59.79% 0.0054 -0.1831)
OKLCHoklch(59.79% 0.183 271.7)
XYZxyz(25.3221, 20.2548, 81.1563)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72EB #EBD45B
analogous
#5BBAEB #5B72EB #8C5BEB
triadic
#5B72EB #EB5B72 #72EB5B
tetradic
#5B72EB #EB5BBA #EBD45B #5BEB8C
square
#5B72EB #EB5BBA #EBD45B #5BEB8C
split-complementary
#5B72EB #EB8C5B #BAEB5B
monochromatic
#1630B5 #2443E4 #5B72EB #92A1F2 #C8D0F8

Accessibility & contrast

On white

4.16
#5B72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5B72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72EB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72EB#FFFFFF#000000##000000
##5B72EB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b72eb;
/* rgb */ color: rgb(91, 114, 235);
/* oklch */ color: oklch(59.8% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#969af2',
    500: '#5b72eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b72eb;
$custom-light: #969af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72eb",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 230.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.18321,
    "h": 271.7
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

primary
#5B72EB
secondary
#EAE2B8
accent
#B90BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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