#5741DC#5741DC

#5741DC is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.223 H 281.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5741DC
RGBrgb(87, 65, 220)
HSLhsl(249, 69%, 56%)
HSVhsv(249, 70%, 86%)
CMYKcmyk(60.5%, 70.5%, 0%, 13.7%)
CIE-LABlab(39.53, 51.61, -75.89)
CIE-LCHlch(39.53, 91.78, 304.22°)
OKLaboklab(50.11% 0.0431 -0.2188)
OKLCHoklch(50.11% 0.223 281.2)
XYZxyz(18.7350, 10.9728, 68.8270)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741DC #C6DC41
analogous
#4178DC #5741DC #A441DC
triadic
#5741DC #DC5741 #41DC57
tetradic
#5741DC #DC4178 #C6DC41 #41DCA4
square
#5741DC #DC4178 #C6DC41 #41DCA4
split-complementary
#5741DC #DCA441 #78DC41
monochromatic
#291989 #3923BD #5741DC #8575E6 #B2A8EF

Accessibility & contrast

On white

6.57
#5741DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5741DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741DC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741DC#FFFFFF#000000##FFFFFF
##5741DC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5741dc;
/* rgb */ color: rgb(87, 65, 220);
/* oklch */ color: oklch(50.1% 0.223 281.2);
Tailwind
colors: {
  custom: {
    50: '#9578e8',
    500: '#5741dc',
    950: '#000000',
  },
}
SCSS
$custom: #5741dc;
$custom-light: #9578e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5741dc",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 248.516,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.22301,
    "h": 281.2
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#5741DC
secondary
#D3DD9C
accent
#EC3CD3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5741DC

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

Preview Lab → · Contrast checker → · Palette generator →

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