#5761E1#5761E1

#5761E1 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.7% C 0.192 H 274.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5761E1
RGBrgb(87, 97, 225)
HSLhsl(236, 70%, 61%)
HSVhsv(236, 61%, 88%)
CMYKcmyk(61.3%, 56.9%, 0%, 11.8%)
CIE-LABlab(46.99, 34.52, -66.57)
CIE-LCHlch(46.99, 74.99, 297.41°)
OKLaboklab(55.67% 0.0164 -0.1913)
OKLCHoklch(55.67% 0.192 274.9)
XYZxyz(21.7913, 16.0101, 73.1615)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761E1 #E1D757
analogous
#57A6E1 #5761E1 #9257E1
triadic
#5761E1 #E15761 #61E157
tetradic
#5761E1 #E157A6 #E1D757 #57E192
square
#5761E1 #E157A6 #E1D757 #57E192
split-complementary
#5761E1 #E19257 #A6E157
monochromatic
#1D26A1 #2633D5 #5761E1 #8B92EA #BFC3F4

Accessibility & contrast

On white

5.00
#5761E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5761E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761E1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761E1#FFFFFF#000000##FFFFFF
##5761E11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5761e1;
/* rgb */ color: rgb(87, 97, 225);
/* oklch */ color: oklch(55.7% 0.192 274.9);
Tailwind
colors: {
  custom: {
    50: '#938eeb',
    500: '#5761e1',
    950: '#000000',
  },
}
SCSS
$custom: #5761e1;
$custom-light: #938eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5761e1",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 225
  },
  "hsl": {
    "h": 235.652,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.19203,
    "h": 274.9
  },
  "luminance": 0.16012
}

Semantic roles & 50–950 ramp

primary
#5761E1
secondary
#E4E0B0
accent
#C414D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5761E1

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

Preview Lab → · Contrast checker → · Palette generator →

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