#5772DF#5772DF

#5772DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.168 H 270.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5772DF
RGBrgb(87, 114, 223)
HSLhsl(228, 68%, 61%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(61%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.14, 23.38, -58.74)
CIE-LCHlch(51.14, 63.22, 291.70°)
OKLaboklab(58.74% 0.0002 -0.1681)
OKLCHoklch(58.74% 0.168 270.1)
XYZxyz(23.2626, 19.3866, 72.3138)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772DF #DFC457
analogous
#57B6DF #5772DF #8057DF
triadic
#5772DF #DF5772 #72DF57
tetradic
#5772DF #DF57B6 #DFC457 #57DF80
square
#5772DF #DF57B6 #DFC457 #57DF80
split-complementary
#5772DF #DF8057 #B6DF57
monochromatic
#1E379E #2849D1 #5772DF #8A9DE9 #BEC8F3

Accessibility & contrast

On white

4.31
#5772DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5772DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772DF#FFFFFF#000000##000000
##5772DF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#1C74DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5772df;
/* rgb */ color: rgb(87, 114, 223);
/* oklch */ color: oklch(58.7% 0.168 270.1);
Tailwind
colors: {
  custom: {
    50: '#929aea',
    500: '#5772df',
    950: '#000000',
  },
}
SCSS
$custom: #5772df;
$custom-light: #929aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5772df",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 228.088,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.1681,
    "h": 270.1
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#5772DF
secondary
#E3D8AF
accent
#AB16D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772DF

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

Preview Lab → · Contrast checker → · Palette generator →

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