#5761E2#5761E2

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

Color values

HEX#5761E2
RGBrgb(87, 97, 226)
HSLhsl(236, 71%, 61%)
HSVhsv(236, 62%, 89%)
CMYKcmyk(61.5%, 57.1%, 0%, 11.4%)
CIE-LABlab(47.06, 34.85, -67.02)
CIE-LCHlch(47.06, 75.54, 297.47°)
OKLaboklab(55.74% 0.0164 -0.1927)
OKLCHoklch(55.74% 0.193 274.9)
XYZxyz(21.9281, 16.0648, 73.8820)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761E2 #E2D857
analogous
#57A7E2 #5761E2 #9357E2
triadic
#5761E2 #E25761 #61E257
tetradic
#5761E2 #E257A7 #E2D857 #57E293
square
#5761E2 #E257A7 #E2D857 #57E293
split-complementary
#5761E2 #E29357 #A7E257
monochromatic
#1C26A3 #2532D7 #5761E2 #8B92EB #BFC3F4

Accessibility & contrast

On white

4.98
#5761E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5761E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761E2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761E2#FFFFFF#000000##FFFFFF
##5761E21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5761e2;
/* rgb */ color: rgb(87, 97, 226);
/* oklch */ color: oklch(55.7% 0.193 274.9);
Tailwind
colors: {
  custom: {
    50: '#948eec',
    500: '#5761e2',
    950: '#000000',
  },
}
SCSS
$custom: #5761e2;
$custom-light: #948eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5761e2",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 235.683,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55742,
    "c": 0.19336,
    "h": 274.9
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#5761E2
secondary
#E4E1B0
accent
#C513D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5761E2

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

Preview Lab → · Contrast checker → · Palette generator →

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