#5741DD#5741DD

#5741DD is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.2% C 0.224 H 281.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5741DD
RGBrgb(87, 65, 221)
HSLhsl(248, 70%, 56%)
HSVhsv(248, 71%, 87%)
CMYKcmyk(60.6%, 70.6%, 0%, 13.3%)
CIE-LABlab(39.62, 51.92, -76.32)
CIE-LCHlch(39.62, 92.30, 304.22°)
OKLaboklab(50.2% 0.0429 -0.22)
OKLCHoklch(50.2% 0.224 281)
XYZxyz(18.8678, 11.0259, 69.5265)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741DD #C7DD41
analogous
#4179DD #5741DD #A541DD
triadic
#5741DD #DD5741 #41DD57
tetradic
#5741DD #DD4179 #C7DD41 #41DDA5
square
#5741DD #DD4179 #C7DD41 #41DDA5
split-complementary
#5741DD #DDA541 #79DD41
monochromatic
#29198B #3822BF #5741DD #8575E6 #B3A9F0

Accessibility & contrast

On white

6.55
#5741DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5741DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741DD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741DD#FFFFFF#000000##FFFFFF
##5741DD1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5741dd;
/* rgb */ color: rgb(87, 65, 221);
/* oklch */ color: oklch(50.2% 0.224 281.0);
Tailwind
colors: {
  custom: {
    50: '#9578e9',
    500: '#5741dd',
    950: '#000000',
  },
}
SCSS
$custom: #5741dd;
$custom-light: #9578e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5741dd",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 248.462,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.22419,
    "h": 281
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#5741DD
secondary
#D4DD9D
accent
#EC3BD3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5741DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5741DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva