#5741DE#5741DE

#5741DE is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.225 H 280.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5741DE
RGBrgb(87, 65, 222)
HSLhsl(248, 70%, 56%)
HSVhsv(248, 71%, 87%)
CMYKcmyk(60.8%, 70.7%, 0%, 12.9%)
CIE-LABlab(39.71, 52.21, -76.74)
CIE-LCHlch(39.71, 92.82, 304.23°)
OKLaboklab(50.29% 0.0428 -0.2213)
OKLCHoklch(50.29% 0.225 280.9)
XYZxyz(19.0014, 11.0794, 70.2303)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741DE #C8DE41
analogous
#417ADE #5741DE #A641DE
triadic
#5741DE #DE5741 #41DE57
tetradic
#5741DE #DE417A #C8DE41 #41DEA6
square
#5741DE #DE417A #C8DE41 #41DEA6
split-complementary
#5741DE #DEA641 #7ADE41
monochromatic
#29188C #3821C0 #5741DE #8575E7 #B3A9F0

Accessibility & contrast

On white

6.53
#5741DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5741DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741DE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741DE#FFFFFF#000000##FFFFFF
##5741DE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0058DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5741de;
/* rgb */ color: rgb(87, 65, 222);
/* oklch */ color: oklch(50.3% 0.225 280.9);
Tailwind
colors: {
  custom: {
    50: '#9578ea',
    500: '#5741de',
    950: '#000000',
  },
}
SCSS
$custom: #5741de;
$custom-light: #9578ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5741de",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 248.408,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5029,
    "c": 0.22537,
    "h": 280.9
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#5741DE
secondary
#D5DE9D
accent
#ED3BD4
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5741DE

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

Preview Lab → · Contrast checker → · Palette generator →

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