#5745E0#5745E0

#5745E0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.224 H 280.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5745E0
RGBrgb(87, 69, 224)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 88%)
CMYKcmyk(61.2%, 69.2%, 0%, 12.2%)
CIE-LABlab(40.68, 50.65, -76.31)
CIE-LCHlch(40.68, 91.59, 303.58°)
OKLaboklab(51.03% 0.0395 -0.22)
OKLCHoklch(51.03% 0.224 280.2)
XYZxyz(19.5089, 11.6628, 71.7297)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745E0 #CEE045
analogous
#4580E0 #5745E0 #A545E0
triadic
#5745E0 #E05745 #45E057
tetradic
#5745E0 #E04580 #CEE045 #45E0A5
square
#5745E0 #E04580 #CEE045 #45E0A5
split-complementary
#5745E0 #E0A545 #80E045
monochromatic
#271892 #3421C7 #5745E0 #8679E9 #B6AEF1

Accessibility & contrast

On white

6.30
#5745E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5745E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745E0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745E0#FFFFFF#000000##FFFFFF
##5745E01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005ADD
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5745e0;
/* rgb */ color: rgb(87, 69, 224);
/* oklch */ color: oklch(51.0% 0.224 280.2);
Tailwind
colors: {
  custom: {
    50: '#957beb',
    500: '#5745e0',
    950: '#000000',
  },
}
SCSS
$custom: #5745e0;
$custom-light: #957beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5745e0",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 246.968,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.22354,
    "h": 280.2
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

primary
#5745E0
secondary
#D8E0A1
accent
#EE3AD9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5745E0

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

Preview Lab → · Contrast checker → · Palette generator →

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