#5772E7#5772E7

#5772E7 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.179 H 270.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5772E7
RGBrgb(87, 114, 231)
HSLhsl(229, 75%, 62%)
HSVhsv(229, 62%, 91%)
CMYKcmyk(62.3%, 50.6%, 0%, 9.4%)
CIE-LABlab(51.64, 26.07, -62.43)
CIE-LCHlch(51.64, 67.65, 292.66°)
OKLaboklab(59.29% 0.001 -0.1789)
OKLCHoklch(59.29% 0.179 270.3)
XYZxyz(24.3667, 19.8283, 78.1290)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E7 #E7CC57
analogous
#57BAE7 #5772E7 #8457E7
triadic
#5772E7 #E75772 #72E757
tetradic
#5772E7 #E757BA #E7CC57 #57E784
square
#5772E7 #E757BA #E7CC57 #57E784
split-complementary
#5772E7 #E78457 #BAE757
monochromatic
#1834AB #2145DF #5772E7 #8D9FEF #C2CCF6

Accessibility & contrast

On white

4.23
#5772E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5772E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E7#FFFFFF#000000##000000
##5772E71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5772e7;
/* rgb */ color: rgb(87, 114, 231);
/* oklch */ color: oklch(59.3% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#949aef',
    500: '#5772e7',
    950: '#000000',
  },
}
SCSS
$custom: #5772e7;
$custom-light: #949aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e7",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 228.75,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.17894,
    "h": 270.3
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#5772E7
secondary
#E7DDB3
accent
#B20ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5772E7

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

Preview Lab → · Contrast checker → · Palette generator →

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