#5745D9#5745D9

#5745D9 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.215 H 280.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5745D9
RGBrgb(87, 69, 217)
HSLhsl(247, 66%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(59.9%, 68.2%, 0%, 14.9%)
CIE-LABlab(40.07, 48.51, -73.30)
CIE-LCHlch(40.07, 87.90, 303.50°)
OKLaboklab(50.41% 0.0406 -0.2112)
OKLCHoklch(50.41% 0.215 280.9)
XYZxyz(18.5790, 11.2909, 66.8325)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D9 #C7D945
analogous
#457DD9 #5745D9 #A145D9
triadic
#5745D9 #D95745 #45D957
tetradic
#5745D9 #D9457D #C7D945 #45D9A1
square
#5745D9 #D9457D #C7D945 #45D9A1
split-complementary
#5745D9 #D9A145 #7DD945
monochromatic
#291C88 #3826BB #5745D9 #8578E3 #B3ABEE

Accessibility & contrast

On white

6.44
#5745D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5745D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D9#FFFFFF#000000##FFFFFF
##5745D91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5745d9;
/* rgb */ color: rgb(87, 69, 217);
/* oklch */ color: oklch(50.4% 0.215 280.9);
Tailwind
colors: {
  custom: {
    50: '#947ae6',
    500: '#5745d9',
    950: '#000000',
  },
}
SCSS
$custom: #5745d9;
$custom-light: #947ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d9",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 247.297,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.21509,
    "h": 280.9
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#5745D9
secondary
#D4DB9E
accent
#E93FD4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5745D9

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

Preview Lab → · Contrast checker → · Palette generator →

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