#5E72EB#5E72EB

#5E72EB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.182 H 272.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E72EB
RGBrgb(94, 114, 235)
HSLhsl(231, 78%, 65%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(60%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.30, 28.61, -63.59)
CIE-LCHlch(52.30, 69.73, 294.23°)
OKLaboklab(59.97% 0.0084 -0.1822)
OKLCHoklch(59.97% 0.182 272.6)
XYZxyz(25.6238, 20.4104, 81.1704)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E72EB #EBD75E
analogous
#5EB9EB #5E72EB #905EEB
triadic
#5E72EB #EB5E72 #72EB5E
tetradic
#5E72EB #EB5EB9 #EBD75E #5EEB90
square
#5E72EB #EB5EB9 #EBD75E #5EEB90
split-complementary
#5E72EB #EB905E #B9EB5E
monochromatic
#172EB8 #2842E4 #5E72EB #94A2F2 #CBD1F9

Accessibility & contrast

On white

4.13
#5E72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5E72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E72EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E72EB#FFFFFF#000000##000000
##5E72EB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e72eb;
/* rgb */ color: rgb(94, 114, 235);
/* oklch */ color: oklch(60.0% 0.182 272.6);
Tailwind
colors: {
  custom: {
    50: '#989af2',
    500: '#5e72eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e72eb;
$custom-light: #989af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e72eb",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 231.489,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.1824,
    "h": 272.6
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#5E72EB
secondary
#EBE4BA
accent
#BD0BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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