#5745E5#5745E5

#5745E5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.5% C 0.230 H 279.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5745E5
RGBrgb(87, 69, 229)
HSLhsl(247, 75%, 58%)
HSVhsv(247, 70%, 90%)
CMYKcmyk(62%, 69.9%, 0%, 10.2%)
CIE-LABlab(41.12, 52.17, -78.43)
CIE-LCHlch(41.12, 94.20, 303.63°)
OKLaboklab(51.48% 0.0387 -0.2262)
OKLCHoklch(51.48% 0.23 279.7)
XYZxyz(20.1970, 11.9381, 75.3535)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745E5 #D3E545
analogous
#4583E5 #5745E5 #A745E5
triadic
#5745E5 #E55745 #45E557
tetradic
#5745E5 #E54583 #D3E545 #45E5A7
square
#5745E5 #E54583 #D3E545 #45E5A7
split-complementary
#5745E5 #E5A745 #83E545
monochromatic
#24169A #311DD0 #5745E5 #877BED #B8B0F4

Accessibility & contrast

On white

6.20
#5745E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5745E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745E5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745E5#FFFFFF#000000##FFFFFF
##5745E51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005BE2
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5745e5;
/* rgb */ color: rgb(87, 69, 229);
/* oklch */ color: oklch(51.5% 0.230 279.7);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5745e5',
    950: '#000000',
  },
}
SCSS
$custom: #5745e5;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5745e5",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 246.75,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.2295,
    "h": 279.7
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#5745E5
secondary
#DCE3A3
accent
#F236DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5745E5

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

Preview Lab → · Contrast checker → · Palette generator →

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