#5745E6#5745E6

#5745E6 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.6% C 0.231 H 279.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5745E6
RGBrgb(87, 69, 230)
HSLhsl(247, 76%, 59%)
HSVhsv(247, 70%, 90%)
CMYKcmyk(62.2%, 70%, 0%, 9.8%)
CIE-LABlab(41.21, 52.48, -78.85)
CIE-LCHlch(41.21, 94.72, 303.64°)
OKLaboklab(51.57% 0.0385 -0.2275)
OKLCHoklch(51.57% 0.231 279.6)
XYZxyz(20.3370, 11.9941, 76.0910)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745E6 #D4E645
analogous
#4583E6 #5745E6 #A745E6
triadic
#5745E6 #E65745 #45E657
tetradic
#5745E6 #E64583 #D4E645 #45E6A7
square
#5745E6 #E64583 #D4E645 #45E6A7
split-complementary
#5745E6 #E6A745 #83E645
monochromatic
#24159C #301CD2 #5745E6 #887BED #B8B1F5

Accessibility & contrast

On white

6.18
#5745E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5745E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745E6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745E6#FFFFFF#000000##FFFFFF
##5745E61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EB
Deuteranopia (green-blind)
#005BE3
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5745e6;
/* rgb */ color: rgb(87, 69, 230);
/* oklch */ color: oklch(51.6% 0.231 279.6);
Tailwind
colors: {
  custom: {
    50: '#967bef',
    500: '#5745e6',
    950: '#000000',
  },
}
SCSS
$custom: #5745e6;
$custom-light: #967bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5745e6",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 246.708,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.2307,
    "h": 279.6
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#5745E6
secondary
#DCE3A4
accent
#F335DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5745E6

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

Preview Lab → · Contrast checker → · Palette generator →

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