#5749CE#5749CE

#5749CE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.1% C 0.197 H 281.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5749CE
RGBrgb(87, 73, 206)
HSLhsl(246, 58%, 55%)
HSVhsv(246, 65%, 81%)
CMYKcmyk(57.8%, 64.6%, 0%, 19.2%)
CIE-LABlab(39.99, 42.83, -67.09)
CIE-LCHlch(39.99, 79.60, 302.55°)
OKLaboklab(50.07% 0.0387 -0.193)
OKLCHoklch(50.07% 0.197 281.3)
XYZxyz(17.4501, 11.2464, 59.6318)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749CE #C0CE49
analogous
#497DCE #5749CE #9A49CE
triadic
#5749CE #CE5749 #49CE57
tetradic
#5749CE #CE497D #C0CE49 #49CE9A
square
#5749CE #CE497D #C0CE49 #49CE9A
split-complementary
#5749CE #CE9A49 #7DCE49
monochromatic
#2B217B #3B2EAC #5749CE #8479DB #B0A9E8

Accessibility & contrast

On white

6.46
#5749CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5749CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749CE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749CE#FFFFFF#000000##FFFFFF
##5749CE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#0D6B85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5749ce;
/* rgb */ color: rgb(87, 73, 206);
/* oklch */ color: oklch(50.1% 0.197 281.3);
Tailwind
colors: {
  custom: {
    50: '#927dde',
    500: '#5749ce',
    950: '#000000',
  },
}
SCSS
$custom: #5749ce;
$custom-light: #927dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5749ce",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 246.316,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50071,
    "c": 0.19685,
    "h": 281.3
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#5749CE
secondary
#D0D59D
accent
#E147D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5749CE

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

Preview Lab → · Contrast checker → · Palette generator →

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