#5749E2#5749E2

#5749E2 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.222 H 279.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5749E2
RGBrgb(87, 73, 226)
HSLhsl(245, 73%, 59%)
HSVhsv(245, 68%, 89%)
CMYKcmyk(61.5%, 67.7%, 0%, 11.4%)
CIE-LABlab(41.66, 49.04, -75.83)
CIE-LCHlch(41.66, 90.31, 302.89°)
OKLaboklab(51.79% 0.0363 -0.2186)
OKLCHoklch(51.79% 0.222 279.4)
XYZxyz(20.0361, 12.2808, 73.2513)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749E2 #D4E249
analogous
#4987E2 #5749E2 #A349E2
triadic
#5749E2 #E25749 #49E257
tetradic
#5749E2 #E24987 #D4E249 #49E2A3
square
#5749E2 #E24987 #D4E249 #49E2A3
split-complementary
#5749E2 #E2A349 #87E249
monochromatic
#241898 #3021CD #5749E2 #887EEA #B8B3F3

Accessibility & contrast

On white

6.08
#5749E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5749E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749E2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749E2#FFFFFF#000000##FFFFFF
##5749E21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5749e2;
/* rgb */ color: rgb(87, 73, 226);
/* oklch */ color: oklch(51.8% 0.222 279.4);
Tailwind
colors: {
  custom: {
    50: '#957dec',
    500: '#5749e2',
    950: '#000000',
  },
}
SCSS
$custom: #5749e2;
$custom-light: #957dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5749e2",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 245.49,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.22163,
    "h": 279.4
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#5749E2
secondary
#DCE2A5
accent
#EF39DF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5749E2

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

Preview Lab → · Contrast checker → · Palette generator →

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