#5772ED#5772ED

#5772ED is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.7% C 0.187 H 270.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5772ED
RGBrgb(87, 114, 237)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(63.3%, 51.9%, 0%, 7.1%)
CIE-LABlab(52.03, 28.09, -65.16)
CIE-LCHlch(52.03, 70.96, 293.32°)
OKLaboklab(59.71% 0.0015 -0.187)
OKLCHoklch(59.71% 0.187 270.5)
XYZxyz(25.2287, 20.1731, 82.6686)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772ED #EDD257
analogous
#57BDED #5772ED #8757ED
triadic
#5772ED #ED5772 #72ED57
tetradic
#5772ED #ED57BD #EDD257 #57ED87
square
#5772ED #ED57BD #EDD257 #57ED87
split-complementary
#5772ED #ED8757 #BDED57
monochromatic
#1431B6 #2044E7 #5772ED #8EA0F3 #C6CFF9

Accessibility & contrast

On white

4.17
#5772ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5772ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772ED#FFFFFF#000000##000000
##5772ED1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5772ed;
/* rgb */ color: rgb(87, 114, 237);
/* oklch */ color: oklch(59.7% 0.187 270.5);
Tailwind
colors: {
  custom: {
    50: '#959af4',
    500: '#5772ed',
    950: '#000000',
  },
}
SCSS
$custom: #5772ed;
$custom-light: #959af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5772ed",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 229.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.18699,
    "h": 270.5
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#5772ED
secondary
#EAE1B5
accent
#B709DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5772ED

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

Preview Lab → · Contrast checker → · Palette generator →

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