#5764E3#5764E3

#5764E3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.191 H 274.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5764E3
RGBrgb(87, 100, 227)
HSLhsl(234, 71%, 62%)
HSVhsv(234, 62%, 89%)
CMYKcmyk(61.7%, 55.9%, 0%, 11%)
CIE-LABlab(47.86, 33.35, -66.29)
CIE-LCHlch(47.86, 74.20, 296.70°)
OKLaboklab(56.36% 0.0137 -0.1905)
OKLCHoklch(56.36% 0.191 274.1)
XYZxyz(22.3482, 16.6848, 74.7009)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764E3 #E3D657
analogous
#57AAE3 #5764E3 #9057E3
triadic
#5764E3 #E35764 #64E357
tetradic
#5764E3 #E357AA #E3D657 #57E390
square
#5764E3 #E357AA #E3D657 #57E390
split-complementary
#5764E3 #E39057 #AAE357
monochromatic
#1B28A4 #2435D9 #5764E3 #8B94EC #C0C5F4

Accessibility & contrast

On white

4.84
#5764E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5764E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5764E3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764E3#FFFFFF#000000##FFFFFF
##5764E31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5764e3;
/* rgb */ color: rgb(87, 100, 227);
/* oklch */ color: oklch(56.4% 0.191 274.1);
Tailwind
colors: {
  custom: {
    50: '#9490ed',
    500: '#5764e3',
    950: '#000000',
  },
}
SCSS
$custom: #5764e3;
$custom-light: #9490ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5764e3",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 234.429,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.19096,
    "h": 274.1
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#5764E3
secondary
#E5E0B1
accent
#C212D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5764E3

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

Preview Lab → · Contrast checker → · Palette generator →

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