#5772DB#5772DB

#5772DB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.163 H 269.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5772DB
RGBrgb(87, 114, 219)
HSLhsl(228, 65%, 60%)
HSVhsv(228, 60%, 86%)
CMYKcmyk(60.3%, 47.9%, 0%, 14.1%)
CIE-LABlab(50.89, 22.04, -56.88)
CIE-LCHlch(50.89, 61.00, 291.18°)
OKLaboklab(58.48% -0.0002 -0.1626)
OKLCHoklch(58.48% 0.163 269.9)
XYZxyz(22.7297, 19.1735, 69.5071)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772DB #DBC057
analogous
#57B4DB #5772DB #7E57DB
triadic
#5772DB #DB5772 #72DB57
tetradic
#5772DB #DB57B4 #DBC057 #57DB7E
square
#5772DB #DB57B4 #DBC057 #57DB7E
split-complementary
#5772DB #DB7E57 #B4DB57
monochromatic
#203997 #2B4CCA #5772DB #899CE6 #BCC7F1

Accessibility & contrast

On white

4.34
#5772DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5772DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772DB#FFFFFF#000000##000000
##5772DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5772db;
/* rgb */ color: rgb(87, 114, 219);
/* oklch */ color: oklch(58.5% 0.163 269.9);
Tailwind
colors: {
  custom: {
    50: '#929ae7',
    500: '#5772db',
    950: '#000000',
  },
}
SCSS
$custom: #5772db;
$custom-light: #929ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5772db",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 227.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.58475,
    "c": 0.16263,
    "h": 269.9
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#5772DB
secondary
#E0D6AD
accent
#C540E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772DB

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

Preview Lab → · Contrast checker → · Palette generator →

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