#5749E1#5749E1

#5749E1 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.220 H 279.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5749E1
RGBrgb(87, 73, 225)
HSLhsl(246, 72%, 58%)
HSVhsv(246, 68%, 88%)
CMYKcmyk(61.3%, 67.6%, 0%, 11.8%)
CIE-LABlab(41.57, 48.73, -75.41)
CIE-LCHlch(41.57, 89.78, 302.87°)
OKLaboklab(51.7% 0.0364 -0.2174)
OKLCHoklch(51.7% 0.22 279.5)
XYZxyz(19.8993, 12.2261, 72.5308)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749E1 #D3E149
analogous
#4987E1 #5749E1 #A349E1
triadic
#5749E1 #E15749 #49E157
tetradic
#5749E1 #E14987 #D3E149 #49E1A3
square
#5749E1 #E14987 #D3E149 #49E1A3
split-complementary
#5749E1 #E1A349 #87E149
monochromatic
#241997 #3122CB #5749E1 #877EEA #B8B2F2

Accessibility & contrast

On white

6.09
#5749E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5749E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749E1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749E1#FFFFFF#000000##FFFFFF
##5749E11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5749e1;
/* rgb */ color: rgb(87, 73, 225);
/* oklch */ color: oklch(51.7% 0.220 279.5);
Tailwind
colors: {
  custom: {
    50: '#957dec',
    500: '#5749e1',
    950: '#000000',
  },
}
SCSS
$custom: #5749e1;
$custom-light: #957dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5749e1",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 245.526,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.22041,
    "h": 279.5
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#5749E1
secondary
#DCE1A5
accent
#EE39DE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5749E1

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

Preview Lab → · Contrast checker → · Palette generator →

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