#5761DF#5761DF

#5761DF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.189 H 275.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5761DF
RGBrgb(87, 97, 223)
HSLhsl(236, 68%, 61%)
HSVhsv(236, 61%, 87%)
CMYKcmyk(61%, 56.5%, 0%, 12.5%)
CIE-LABlab(46.85, 33.86, -65.67)
CIE-LCHlch(46.85, 73.89, 297.28°)
OKLaboklab(55.52% 0.0164 -0.1887)
OKLCHoklch(55.52% 0.189 275)
XYZxyz(21.5201, 15.9016, 71.7330)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761DF #DFD557
analogous
#57A5DF #5761DF #9157DF
triadic
#5761DF #DF5761 #61DF57
tetradic
#5761DF #DF57A5 #DFD557 #57DF91
square
#5761DF #DF57A5 #DFD557 #57DF91
split-complementary
#5761DF #DF9157 #A5DF57
monochromatic
#1E279E #2834D1 #5761DF #8A91E9 #BEC2F3

Accessibility & contrast

On white

5.02
#5761DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5761DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761DF#FFFFFF#000000##FFFFFF
##5761DF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5761df;
/* rgb */ color: rgb(87, 97, 223);
/* oklch */ color: oklch(55.5% 0.189 275.0);
Tailwind
colors: {
  custom: {
    50: '#938eea',
    500: '#5761df',
    950: '#000000',
  },
}
SCSS
$custom: #5761df;
$custom-light: #938eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5761df",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 235.588,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.18939,
    "h": 275
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#5761DF
secondary
#E3DFAF
accent
#C216D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5761DF

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

Preview Lab → · Contrast checker → · Palette generator →

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