#5761E4#5761E4

#5761E4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.9% C 0.196 H 274.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5761E4
RGBrgb(87, 97, 228)
HSLhsl(236, 72%, 62%)
HSVhsv(236, 62%, 89%)
CMYKcmyk(61.8%, 57.5%, 0%, 10.6%)
CIE-LABlab(47.20, 35.51, -67.92)
CIE-LCHlch(47.20, 76.65, 297.60°)
OKLaboklab(55.9% 0.0164 -0.1953)
OKLCHoklch(55.9% 0.196 274.8)
XYZxyz(22.2042, 16.1752, 75.3358)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761E4 #E4DA57
analogous
#57A7E4 #5761E4 #9457E4
triadic
#5761E4 #E45761 #61E457
tetradic
#5761E4 #E457A7 #E4DA57 #57E494
square
#5761E4 #E457A7 #E4DA57 #57E494
split-complementary
#5761E4 #E49457 #A7E457
monochromatic
#1B25A6 #2330DB #5761E4 #8C93EC #C0C4F5

Accessibility & contrast

On white

4.96
#5761E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5761E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761E4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761E4#FFFFFF#000000##FFFFFF
##5761E41.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5761e4;
/* rgb */ color: rgb(87, 97, 228);
/* oklch */ color: oklch(55.9% 0.196 274.8);
Tailwind
colors: {
  custom: {
    50: '#948eed',
    500: '#5761e4',
    950: '#000000',
  },
}
SCSS
$custom: #5761e4;
$custom-light: #948eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5761e4",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 235.745,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.19598,
    "h": 274.8
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#5761E4
secondary
#E6E2B1
accent
#C711D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5761E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5761E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva