#5772EB#5772EB

#5772EB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.184 H 270.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5772EB
RGBrgb(87, 114, 235)
HSLhsl(229, 79%, 63%)
HSVhsv(229, 63%, 92%)
CMYKcmyk(63%, 51.5%, 0%, 7.8%)
CIE-LABlab(51.90, 27.42, -64.25)
CIE-LCHlch(51.90, 69.86, 293.11°)
OKLaboklab(59.57% 0.0014 -0.1843)
OKLCHoklch(59.57% 0.184 270.4)
XYZxyz(24.9381, 20.0568, 81.1383)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772EB #EBD057
analogous
#57BCEB #5772EB #8657EB
triadic
#5772EB #EB5772 #72EB57
tetradic
#5772EB #EB57BC #EBD057 #57EB86
square
#5772EB #EB57BC #EBD057 #57EB86
split-complementary
#5772EB #EB8657 #BCEB57
monochromatic
#1532B2 #2044E4 #5772EB #8EA0F2 #C4CEF8

Accessibility & contrast

On white

4.19
#5772EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5772EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772EB#FFFFFF#000000##000000
##5772EB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5772eb;
/* rgb */ color: rgb(87, 114, 235);
/* oklch */ color: oklch(59.6% 0.184 270.4);
Tailwind
colors: {
  custom: {
    50: '#949af2',
    500: '#5772eb',
    950: '#000000',
  },
}
SCSS
$custom: #5772eb;
$custom-light: #949af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5772eb",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 229.054,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.18432,
    "h": 270.4
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#5772EB
secondary
#E9E0B4
accent
#B50ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5772EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5772EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva