#5741D2#5741D2

#5741D2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.211 H 282.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5741D2
RGBrgb(87, 65, 210)
HSLhsl(249, 62%, 54%)
HSVhsv(249, 69%, 82%)
CMYKcmyk(58.6%, 69%, 0%, 17.6%)
CIE-LABlab(38.65, 48.60, -71.59)
CIE-LCHlch(38.65, 86.53, 304.17°)
OKLaboklab(49.21% 0.0449 -0.2062)
OKLCHoklch(49.21% 0.211 282.3)
XYZxyz(17.4500, 10.4588, 62.0595)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741D2 #BCD241
analogous
#4174D2 #5741D2 #9F41D2
triadic
#5741D2 #D25741 #41D257
tetradic
#5741D2 #D24174 #BCD241 #41D29F
square
#5741D2 #D24174 #BCD241 #41D29F
split-complementary
#5741D2 #D29F41 #74D241
monochromatic
#2C1D7B #3D29AD #5741D2 #8372DE #AFA4E9

Accessibility & contrast

On white

6.79
#5741D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5741D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741D2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741D2#FFFFFF#000000##FFFFFF
##5741D21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#016785
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5741d2;
/* rgb */ color: rgb(87, 65, 210);
/* oklch */ color: oklch(49.2% 0.211 282.3);
Tailwind
colors: {
  custom: {
    50: '#9378e1',
    500: '#5741d2',
    950: '#000000',
  },
}
SCSS
$custom: #5741d2;
$custom-light: #9378e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5741d2",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 249.103,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.21103,
    "h": 282.3
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#5741D2
secondary
#CDD698
accent
#E543CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741D2

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

Preview Lab → · Contrast checker → · Palette generator →

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