#5741D1#5741D1

#5741D1 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.210 H 282.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5741D1
RGBrgb(87, 65, 209)
HSLhsl(249, 61%, 54%)
HSVhsv(249, 69%, 82%)
CMYKcmyk(58.4%, 68.9%, 0%, 18%)
CIE-LABlab(38.57, 48.30, -71.16)
CIE-LCHlch(38.57, 86.00, 304.17°)
OKLaboklab(49.12% 0.0451 -0.2049)
OKLCHoklch(49.12% 0.21 282.4)
XYZxyz(17.3258, 10.4091, 61.4054)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741D1 #BBD141
analogous
#4173D1 #5741D1 #9F41D1
triadic
#5741D1 #D15741 #41D157
tetradic
#5741D1 #D14173 #BBD141 #41D19F
square
#5741D1 #D14173 #BBD141 #41D19F
split-complementary
#5741D1 #D19F41 #73D141
monochromatic
#2C1E7A #3D29AB #5741D1 #8372DD #AEA4E9

Accessibility & contrast

On white

6.81
#5741D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5741D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741D1
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741D1#FFFFFF#000000##FFFFFF
##5741D11.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#056784
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5741d1;
/* rgb */ color: rgb(87, 65, 209);
/* oklch */ color: oklch(49.1% 0.210 282.4);
Tailwind
colors: {
  custom: {
    50: '#9378e0',
    500: '#5741d1',
    950: '#000000',
  },
}
SCSS
$custom: #5741d1;
$custom-light: #9378e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5741d1",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 249.167,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.20982,
    "h": 282.4
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#5741D1
secondary
#CCD698
accent
#E444CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741D1

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

Preview Lab → · Contrast checker → · Palette generator →

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