#5764D8#5764D8

#5764D8 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.176 H 274.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5764D8
RGBrgb(87, 100, 216)
HSLhsl(234, 62%, 59%)
HSVhsv(234, 60%, 85%)
CMYKcmyk(59.7%, 53.7%, 0%, 15.3%)
CIE-LABlab(47.10, 29.70, -61.28)
CIE-LCHlch(47.10, 68.10, 295.86°)
OKLaboklab(55.55% 0.0133 -0.1757)
OKLCHoklch(55.55% 0.176 274.3)
XYZxyz(20.8783, 16.0968, 66.9592)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764D8 #D8CB57
analogous
#57A5D8 #5764D8 #8A57D8
triadic
#5764D8 #D85764 #64D857
tetradic
#5764D8 #D857A5 #D8CB57 #57D88A
square
#5764D8 #D857A5 #D8CB57 #57D88A
split-complementary
#5764D8 #D88A57 #A5D857
monochromatic
#222D93 #2E3DC4 #5764D8 #8992E4 #BAC0EF

Accessibility & contrast

On white

4.98
#5764D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5764D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5764D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764D8#FFFFFF#000000##FFFFFF
##5764D81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1675DC
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5764d8;
/* rgb */ color: rgb(87, 100, 216);
/* oklch */ color: oklch(55.6% 0.176 274.3);
Tailwind
colors: {
  custom: {
    50: '#9290e5',
    500: '#5764d8',
    950: '#000000',
  },
}
SCSS
$custom: #5764d8;
$custom-light: #9290e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5764d8",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 233.953,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.17623,
    "h": 274.3
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#5764D8
secondary
#DFD9AC
accent
#D542E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5764D8

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

Preview Lab → · Contrast checker → · Palette generator →

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