#5741D6#5741D6

#5741D6 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.216 H 281.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5741D6
RGBrgb(87, 65, 214)
HSLhsl(249, 65%, 55%)
HSVhsv(249, 70%, 84%)
CMYKcmyk(59.3%, 69.6%, 0%, 16.1%)
CIE-LABlab(39.00, 49.81, -73.32)
CIE-LCHlch(39.00, 88.64, 304.19°)
OKLaboklab(49.57% 0.0442 -0.2113)
OKLCHoklch(49.57% 0.216 281.8)
XYZxyz(17.9546, 10.6606, 64.7169)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741D6 #C0D641
analogous
#4176D6 #5741D6 #A241D6
triadic
#5741D6 #D65741 #41D657
tetradic
#5741D6 #D64176 #C0D641 #41D6A2
square
#5741D6 #D64176 #C0D641 #41D6A2
split-complementary
#5741D6 #D6A241 #76D641
monochromatic
#2B1C81 #3B27B3 #5741D6 #8473E1 #B0A6EC

Accessibility & contrast

On white

6.70
#5741D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5741D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741D6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741D6#FFFFFF#000000##FFFFFF
##5741D61.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DA
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5741d6;
/* rgb */ color: rgb(87, 65, 214);
/* oklch */ color: oklch(49.6% 0.216 281.8);
Tailwind
colors: {
  custom: {
    50: '#9478e4',
    500: '#5741d6',
    950: '#000000',
  },
}
SCSS
$custom: #5741d6;
$custom-light: #9478e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5741d6",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 248.859,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.21584,
    "h": 281.8
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#5741D6
secondary
#D0D99A
accent
#E740CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5741D6

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

Preview Lab → · Contrast checker → · Palette generator →

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