#5749E4#5749E4

#5749E4 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.224 H 279.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5749E4
RGBrgb(87, 73, 228)
HSLhsl(245, 74%, 59%)
HSVhsv(245, 68%, 89%)
CMYKcmyk(61.8%, 68%, 0%, 10.6%)
CIE-LABlab(41.83, 49.66, -76.69)
CIE-LCHlch(41.83, 91.36, 302.93°)
OKLaboklab(51.97% 0.036 -0.2211)
OKLCHoklch(51.97% 0.224 279.2)
XYZxyz(20.3121, 12.3912, 74.7051)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749E4 #D6E449
analogous
#4989E4 #5749E4 #A549E4
triadic
#5749E4 #E45749 #49E457
tetradic
#5749E4 #E44989 #D6E449 #49E4A5
square
#5749E4 #E44989 #D6E449 #49E4A5
split-complementary
#5749E4 #E4A549 #89E449
monochromatic
#23179C #2F1FD1 #5749E4 #887EEC #B9B4F4

Accessibility & contrast

On white

6.04
#5749E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5749E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749E4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749E4#FFFFFF#000000##FFFFFF
##5749E41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5749e4;
/* rgb */ color: rgb(87, 73, 228);
/* oklch */ color: oklch(52.0% 0.224 279.2);
Tailwind
colors: {
  custom: {
    50: '#967dee',
    500: '#5749e4',
    950: '#000000',
  },
}
SCSS
$custom: #5749e4;
$custom-light: #967dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5749e4",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 245.419,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.22405,
    "h": 279.2
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#5749E4
secondary
#DDE3A6
accent
#F137E0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5749E4

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

Preview Lab → · Contrast checker → · Palette generator →

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