#5745E4#5745E4

#5745E4 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.228 H 279.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5745E4
RGBrgb(87, 69, 228)
HSLhsl(247, 75%, 58%)
HSVhsv(247, 70%, 89%)
CMYKcmyk(61.8%, 69.7%, 0%, 10.6%)
CIE-LABlab(41.03, 51.87, -78.01)
CIE-LCHlch(41.03, 93.68, 303.62°)
OKLaboklab(51.39% 0.0389 -0.225)
OKLCHoklch(51.39% 0.228 279.8)
XYZxyz(20.0577, 11.8824, 74.6203)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745E4 #D2E445
analogous
#4583E4 #5745E4 #A645E4
triadic
#5745E4 #E45745 #45E457
tetradic
#5745E4 #E44583 #D2E445 #45E4A6
square
#5745E4 #E44583 #D2E445 #45E4A6
split-complementary
#5745E4 #E4A645 #83E445
monochromatic
#251698 #321ECE #5745E4 #877AEC #B8B0F4

Accessibility & contrast

On white

6.22
#5745E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5745E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745E4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745E4#FFFFFF#000000##FFFFFF
##5745E41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5745e4;
/* rgb */ color: rgb(87, 69, 228);
/* oklch */ color: oklch(51.4% 0.228 279.8);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5745e4',
    950: '#000000',
  },
}
SCSS
$custom: #5745e4;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5745e4",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 246.792,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.22832,
    "h": 279.8
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#5745E4
secondary
#DBE2A3
accent
#F137DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5745E4

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

Preview Lab → · Contrast checker → · Palette generator →

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