#5745D6#5745D6

#5745D6 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.211 H 281.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5745D6
RGBrgb(87, 69, 214)
HSLhsl(247, 64%, 55%)
HSVhsv(247, 68%, 84%)
CMYKcmyk(59.3%, 67.8%, 0%, 16.1%)
CIE-LABlab(39.81, 47.60, -72.00)
CIE-LCHlch(39.81, 86.31, 303.47°)
OKLaboklab(50.14% 0.0411 -0.2074)
OKLCHoklch(50.14% 0.211 281.2)
XYZxyz(18.1924, 11.1362, 64.7961)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D6 #C4D645
analogous
#457BD6 #5745D6 #9F45D6
triadic
#5745D6 #D65745 #45D657
tetradic
#5745D6 #D6457B #C4D645 #45D69F
square
#5745D6 #D6457B #C4D645 #45D69F
split-complementary
#5745D6 #D69F45 #7BD645
monochromatic
#2A1D84 #3A28B6 #5745D6 #8477E1 #B2A9EC

Accessibility & contrast

On white

6.51
#5745D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5745D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D6#FFFFFF#000000##FFFFFF
##5745D61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5745d6;
/* rgb */ color: rgb(87, 69, 214);
/* oklch */ color: oklch(50.1% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#937ae4',
    500: '#5745d6',
    950: '#000000',
  },
}
SCSS
$custom: #5745d6;
$custom-light: #937ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d6",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 247.448,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.21144,
    "h": 281.2
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#5745D6
secondary
#D2DA9D
accent
#E741D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5745D6

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

Preview Lab → · Contrast checker → · Palette generator →

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