#5741D7#5741D7

#5741D7 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.7% C 0.217 H 281.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5741D7
RGBrgb(87, 65, 215)
HSLhsl(249, 65%, 55%)
HSVhsv(249, 70%, 84%)
CMYKcmyk(59.5%, 69.8%, 0%, 15.7%)
CIE-LABlab(39.09, 50.11, -73.76)
CIE-LCHlch(39.09, 89.17, 304.19°)
OKLaboklab(49.66% 0.044 -0.2125)
OKLCHoklch(49.66% 0.217 281.7)
XYZxyz(18.0827, 10.7119, 65.3915)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741D7 #C1D741
analogous
#4176D7 #5741D7 #A241D7
triadic
#5741D7 #D75741 #41D757
tetradic
#5741D7 #D74176 #C1D741 #41D7A2
square
#5741D7 #D74176 #C1D741 #41D7A2
split-complementary
#5741D7 #D7A241 #76D741
monochromatic
#2A1B82 #3B26B5 #5741D7 #8474E2 #B0A6EC

Accessibility & contrast

On white

6.68
#5741D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5741D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741D7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741D7#FFFFFF#000000##FFFFFF
##5741D71.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DB
Deuteranopia (green-blind)
#0057D4
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5741d7;
/* rgb */ color: rgb(87, 65, 215);
/* oklch */ color: oklch(49.7% 0.217 281.7);
Tailwind
colors: {
  custom: {
    50: '#9478e5',
    500: '#5741d7',
    950: '#000000',
  },
}
SCSS
$custom: #5741d7;
$custom-light: #9478e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5741d7",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 248.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.21704,
    "h": 281.7
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5741D7

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

Preview Lab → · Contrast checker → · Palette generator →

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