#5761E5#5761E5

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

Color values

HEX#5761E5
RGBrgb(87, 97, 229)
HSLhsl(236, 73%, 62%)
HSVhsv(236, 62%, 90%)
CMYKcmyk(62%, 57.6%, 0%, 10.2%)
CIE-LABlab(47.28, 35.84, -68.37)
CIE-LCHlch(47.28, 77.19, 297.67°)
OKLaboklab(55.97% 0.0164 -0.1966)
OKLCHoklch(55.97% 0.197 274.8)
XYZxyz(22.3434, 16.2309, 76.0690)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761E5 #E5DB57
analogous
#57A8E5 #5761E5 #9457E5
triadic
#5761E5 #E55761 #61E557
tetradic
#5761E5 #E557A8 #E5DB57 #57E594
square
#5761E5 #E557A8 #E5DB57 #57E594
split-complementary
#5761E5 #E59457 #A8E557
monochromatic
#1A24A8 #222FDD #5761E5 #8C93ED #C1C5F5

Accessibility & contrast

On white

4.95
#5761E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5761E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761E5#FFFFFF#000000##FFFFFF
##5761E51.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5761e5;
/* rgb */ color: rgb(87, 97, 229);
/* oklch */ color: oklch(56.0% 0.197 274.8);
Tailwind
colors: {
  custom: {
    50: '#948eee',
    500: '#5761e5',
    950: '#000000',
  },
}
SCSS
$custom: #5761e5;
$custom-light: #948eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5761e5",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 235.775,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.19729,
    "h": 274.8
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#5761E5
secondary
#E6E2B2
accent
#C710D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5761E5

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

Preview Lab → · Contrast checker → · Palette generator →

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