#5764E1#5764E1

#5764E1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.188 H 274.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5764E1
RGBrgb(87, 100, 225)
HSLhsl(234, 70%, 61%)
HSVhsv(234, 61%, 88%)
CMYKcmyk(61.3%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.72, 32.68, -65.39)
CIE-LCHlch(47.72, 73.10, 296.56°)
OKLaboklab(56.21% 0.0137 -0.1878)
OKLCHoklch(56.21% 0.188 274.2)
XYZxyz(22.0738, 16.5750, 73.2556)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764E1 #E1D457
analogous
#57A9E1 #5764E1 #8F57E1
triadic
#5764E1 #E15764 #64E157
tetradic
#5764E1 #E157A9 #E1D457 #57E18F
square
#5764E1 #E157A9 #E1D457 #57E18F
split-complementary
#5764E1 #E18F57 #A9E157
monochromatic
#1D29A1 #2636D5 #5764E1 #8B94EA #BFC4F4

Accessibility & contrast

On white

4.87
#5764E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5764E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5764E1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764E1#FFFFFF#000000##FFFFFF
##5764E11.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5764e1;
/* rgb */ color: rgb(87, 100, 225);
/* oklch */ color: oklch(56.2% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#9390eb',
    500: '#5764e1',
    950: '#000000',
  },
}
SCSS
$custom: #5764e1;
$custom-light: #9390eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5764e1",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 234.348,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.18831,
    "h": 274.2
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#5764E1
secondary
#E4DFB0
accent
#C014D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5764E1

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

Preview Lab → · Contrast checker → · Palette generator →

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