#5772EF#5772EF

#5772EF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.190 H 270.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5772EF
RGBrgb(87, 114, 239)
HSLhsl(229, 83%, 64%)
HSVhsv(229, 64%, 94%)
CMYKcmyk(63.6%, 52.3%, 0%, 6.3%)
CIE-LABlab(52.16, 28.76, -66.06)
CIE-LCHlch(52.16, 72.05, 293.53°)
OKLaboklab(59.85% 0.0017 -0.1896)
OKLCHoklch(59.85% 0.19 270.5)
XYZxyz(25.5225, 20.2906, 84.2161)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772EF #EFD457
analogous
#57BEEF #5772EF #8857EF
triadic
#5772EF #EF5772 #72EF57
tetradic
#5772EF #EF57BE #EFD457 #57EF88
square
#5772EF #EF57BE #EFD457 #57EF88
split-complementary
#5772EF #EF8857 #BEEF57
monochromatic
#1230BA #1F43EA #5772EF #8FA1F4 #C7D0FA

Accessibility & contrast

On white

4.15
#5772EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5772EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772EF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772EF#FFFFFF#000000##000000
##5772EF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5772ef;
/* rgb */ color: rgb(87, 114, 239);
/* oklch */ color: oklch(59.8% 0.190 270.5);
Tailwind
colors: {
  custom: {
    50: '#959af5',
    500: '#5772ef',
    950: '#000000',
  },
}
SCSS
$custom: #5772ef;
$custom-light: #959af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5772ef",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 229.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.18965,
    "h": 270.5
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#5772EF
secondary
#ECE2B6
accent
#B906DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5772EF

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

Preview Lab → · Contrast checker → · Palette generator →

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