#5749E5#5749E5

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

Color values

HEX#5749E5
RGBrgb(87, 73, 229)
HSLhsl(245, 75%, 59%)
HSVhsv(245, 68%, 90%)
CMYKcmyk(62%, 68.1%, 0%, 10.2%)
CIE-LABlab(41.92, 49.97, -77.11)
CIE-LCHlch(41.92, 91.89, 302.94°)
OKLaboklab(52.05% 0.0358 -0.2224)
OKLCHoklch(52.05% 0.225 279.2)
XYZxyz(20.4514, 12.4469, 75.4383)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749E5 #D7E549
analogous
#4989E5 #5749E5 #A549E5
triadic
#5749E5 #E55749 #49E557
tetradic
#5749E5 #E54989 #D7E549 #49E5A5
square
#5749E5 #E54989 #D7E549 #49E5A5
split-complementary
#5749E5 #E5A549 #89E549
monochromatic
#23169D #2E1ED3 #5749E5 #887FED #BAB4F4

Accessibility & contrast

On white

6.02
#5749E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5749E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749E5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749E5#FFFFFF#000000##FFFFFF
##5749E51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5749e5;
/* rgb */ color: rgb(87, 73, 229);
/* oklch */ color: oklch(52.1% 0.225 279.2);
Tailwind
colors: {
  custom: {
    50: '#967dee',
    500: '#5749e5',
    950: '#000000',
  },
}
SCSS
$custom: #5749e5;
$custom-light: #967dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5749e5",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 245.385,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.22526,
    "h": 279.2
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#5749E5
secondary
#DEE3A6
accent
#F236E1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5749E5

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

Preview Lab → · Contrast checker → · Palette generator →

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