#5772F6#5772F6

#5772F6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.199 H 270.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5772F6
RGBrgb(87, 114, 246)
HSLhsl(230, 90%, 65%)
HSVhsv(230, 65%, 96%)
CMYKcmyk(64.6%, 53.7%, 0%, 3.5%)
CIE-LABlab(52.63, 31.12, -69.20)
CIE-LCHlch(52.63, 75.88, 294.22°)
OKLaboklab(60.35% 0.0021 -0.1989)
OKLCHoklch(60.35% 0.199 270.6)
XYZxyz(26.5767, 20.7123, 89.7682)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772F6 #F6DB57
analogous
#57C2F6 #5772F6 #8B57F6
triadic
#5772F6 #F65772 #72F657
tetradic
#5772F6 #F657C2 #F6DB57 #57F68B
square
#5772F6 #F657C2 #F6DB57 #57F68B
split-complementary
#5772F6 #F68B57 #C2F657
monochromatic
#0B2BC8 #1D41F3 #5772F6 #91A3F9 #CBD4FC

Accessibility & contrast

On white

4.08
#5772F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5772F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772F6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772F6#FFFFFF#000000##000000
##5772F61.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0985FB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5772f6;
/* rgb */ color: rgb(87, 114, 246);
/* oklch */ color: oklch(60.3% 0.199 270.6);
Tailwind
colors: {
  custom: {
    50: '#969afa',
    500: '#5772f6',
    950: '#000000',
  },
}
SCSS
$custom: #5772f6;
$custom-light: #969afa;
$custom-dark: #000000;
JSON
{
  "hex": "#5772f6",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 229.811,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.19889,
    "h": 270.6
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#5772F6
secondary
#EFE6BA
accent
#BF00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5772F6

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

Preview Lab → · Contrast checker → · Palette generator →

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