#5745D7#5745D7

#5745D7 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.213 H 281.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5745D7
RGBrgb(87, 69, 215)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 84%)
CMYKcmyk(59.5%, 67.9%, 0%, 15.7%)
CIE-LABlab(39.89, 47.90, -72.44)
CIE-LCHlch(39.89, 86.84, 303.48°)
OKLaboklab(50.23% 0.0409 -0.2087)
OKLCHoklch(50.23% 0.213 281.1)
XYZxyz(18.3205, 11.1875, 65.4708)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D7 #C5D745
analogous
#457CD7 #5745D7 #A045D7
triadic
#5745D7 #D75745 #45D757
tetradic
#5745D7 #D7457C #C5D745 #45D7A0
square
#5745D7 #D7457C #C5D745 #45D7A0
split-complementary
#5745D7 #D7A045 #7CD745
monochromatic
#291D85 #3927B7 #5745D7 #8477E2 #B2AAED

Accessibility & contrast

On white

6.49
#5745D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5745D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D7#FFFFFF#000000##FFFFFF
##5745D71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5745d7;
/* rgb */ color: rgb(87, 69, 215);
/* oklch */ color: oklch(50.2% 0.213 281.1);
Tailwind
colors: {
  custom: {
    50: '#947ae4',
    500: '#5745d7',
    950: '#000000',
  },
}
SCSS
$custom: #5745d7;
$custom-light: #947ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d7",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 247.397,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.21266,
    "h": 281.1
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#5745D7
secondary
#D3DA9E
accent
#E840D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5745D7

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

Preview Lab → · Contrast checker → · Palette generator →

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