#5749EC#5749EC

#5749EC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.234 H 278.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5749EC
RGBrgb(87, 73, 236)
HSLhsl(245, 81%, 61%)
HSVhsv(245, 69%, 93%)
CMYKcmyk(63.1%, 69.1%, 0%, 7.5%)
CIE-LABlab(42.53, 52.12, -80.07)
CIE-LCHlch(42.53, 95.55, 303.06°)
OKLaboklab(52.68% 0.0348 -0.231)
OKLCHoklch(52.68% 0.234 278.6)
XYZxyz(21.4485, 12.8457, 80.6898)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749EC #DEEC49
analogous
#498DEC #5749EC #A849EC
triadic
#5749EC #EC5749 #49EC57
tetradic
#5749EC #EC498D #DEEC49 #49ECA8
square
#5749EC #EC498D #DEEC49 #49ECA8
split-complementary
#5749EC #ECA849 #8DEC49
monochromatic
#1F12A9 #2917E0 #5749EC #8A80F2 #BDB8F8

Accessibility & contrast

On white

5.88
#5749EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5749EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749EC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749EC#FFFFFF#000000##FFFFFF
##5749EC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5749ec;
/* rgb */ color: rgb(87, 73, 236);
/* oklch */ color: oklch(52.7% 0.234 278.6);
Tailwind
colors: {
  custom: {
    50: '#977ef3',
    500: '#5749ec',
    950: '#000000',
  },
}
SCSS
$custom: #5749ec;
$custom-light: #977ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5749ec",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 245.153,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52681,
    "c": 0.23365,
    "h": 278.6
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#5749EC
secondary
#E2E7A9
accent
#DD08CB
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5749EC

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

Preview Lab → · Contrast checker → · Palette generator →

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