#5764E2#5764E2

#5764E2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.190 H 274.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5764E2
RGBrgb(87, 100, 226)
HSLhsl(234, 71%, 61%)
HSVhsv(234, 62%, 89%)
CMYKcmyk(61.5%, 55.8%, 0%, 11.4%)
CIE-LABlab(47.79, 33.01, -65.84)
CIE-LCHlch(47.79, 73.65, 296.63°)
OKLaboklab(56.29% 0.0137 -0.1891)
OKLCHoklch(56.29% 0.19 274.1)
XYZxyz(22.2106, 16.6298, 73.9762)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764E2 #E2D557
analogous
#57AAE2 #5764E2 #9057E2
triadic
#5764E2 #E25764 #64E257
tetradic
#5764E2 #E257AA #E2D557 #57E290
square
#5764E2 #E257AA #E2D557 #57E290
split-complementary
#5764E2 #E29057 #AAE257
monochromatic
#1C29A3 #2536D7 #5764E2 #8B94EB #BFC4F4

Accessibility & contrast

On white

4.85
#5764E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5764E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5764E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764E2#FFFFFF#000000##FFFFFF
##5764E21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5764e2;
/* rgb */ color: rgb(87, 100, 226);
/* oklch */ color: oklch(56.3% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#9390ec',
    500: '#5764e2',
    950: '#000000',
  },
}
SCSS
$custom: #5764e2;
$custom-light: #9390ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5764e2",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 234.388,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.18964,
    "h": 274.1
  },
  "luminance": 0.16632
}

Semantic roles & 50–950 ramp

primary
#5764E2
secondary
#E4E0B0
accent
#C113D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5764E2

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

Preview Lab → · Contrast checker → · Palette generator →

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