#5761D4#5761D4

#5761D4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.175 H 275.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5761D4
RGBrgb(87, 97, 212)
HSLhsl(235, 59%, 59%)
HSVhsv(235, 59%, 83%)
CMYKcmyk(59%, 54.2%, 0%, 16.9%)
CIE-LABlab(46.08, 30.23, -60.65)
CIE-LCHlch(46.08, 67.77, 296.49°)
OKLaboklab(54.7% 0.0161 -0.1739)
OKLCHoklch(54.7% 0.175 275.3)
XYZxyz(20.0850, 15.3276, 64.1747)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761D4 #D4CA57
analogous
#579FD4 #5761D4 #8B57D4
triadic
#5761D4 #D45761 #61D457
tetradic
#5761D4 #D4579F #D4CA57 #57D48B
square
#5761D4 #D4579F #D4CA57 #57D48B
split-complementary
#5761D4 #D48B57 #9FD457
monochromatic
#242C8D #303CBD #5761D4 #888FE0 #B8BDED

Accessibility & contrast

On white

5.17
#5761D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5761D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761D4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761D4#FFFFFF#000000##FFFFFF
##5761D41.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1173D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5761d4;
/* rgb */ color: rgb(87, 97, 212);
/* oklch */ color: oklch(54.7% 0.175 275.3);
Tailwind
colors: {
  custom: {
    50: '#918de2',
    500: '#5761d4',
    950: '#000000',
  },
}
SCSS
$custom: #5761d4;
$custom-light: #918de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5761d4",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 235.2,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.17465,
    "h": 275.3
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#5761D4
secondary
#DCD8AB
accent
#D645E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5761D4

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

Preview Lab → · Contrast checker → · Palette generator →

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