#5764E8#5764E8

#5764E8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.7% C 0.198 H 274.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5764E8
RGBrgb(87, 100, 232)
HSLhsl(235, 76%, 63%)
HSVhsv(235, 63%, 91%)
CMYKcmyk(62.5%, 56.9%, 0%, 9%)
CIE-LABlab(48.22, 35.00, -68.53)
CIE-LCHlch(48.22, 76.96, 297.06°)
OKLaboklab(56.74% 0.0138 -0.1971)
OKLCHoklch(56.74% 0.198 274)
XYZxyz(23.0483, 16.9648, 78.3882)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764E8 #E8DB57
analogous
#57ACE8 #5764E8 #9357E8
triadic
#5764E8 #E85764 #64E857
tetradic
#5764E8 #E857AC #E8DB57 #57E893
square
#5764E8 #E857AC #E8DB57 #57E893
split-complementary
#5764E8 #E89357 #ACE857
monochromatic
#1825AD #2132E1 #5764E8 #8D96EF #C3C7F7

Accessibility & contrast

On white

4.78
#5764E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5764E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5764E8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764E8#FFFFFF#000000##FFFFFF
##5764E81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5764e8;
/* rgb */ color: rgb(87, 100, 232);
/* oklch */ color: oklch(56.7% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#9490f0',
    500: '#5764e8',
    950: '#000000',
  },
}
SCSS
$custom: #5764e8;
$custom-light: #9490f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5764e8",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 234.621,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.19754,
    "h": 274
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#5764E8
secondary
#E8E3B3
accent
#C60DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5764E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5764E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva