#5749CF#5749CF

#5749CF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.198 H 281.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5749CF
RGBrgb(87, 73, 207)
HSLhsl(246, 58%, 55%)
HSVhsv(246, 65%, 81%)
CMYKcmyk(58%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.07, 43.14, -67.54)
CIE-LCHlch(40.07, 80.14, 302.57°)
OKLaboklab(50.16% 0.0386 -0.1943)
OKLCHoklch(50.16% 0.198 281.2)
XYZxyz(17.5720, 11.2951, 60.2736)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749CF #C1CF49
analogous
#497ECF #5749CF #9A49CF
triadic
#5749CF #CF5749 #49CF57
tetradic
#5749CF #CF497E #C1CF49 #49CF9A
square
#5749CF #CF497E #C1CF49 #49CF9A
split-complementary
#5749CF #CF9A49 #7ECF49
monochromatic
#2A217D #3B2EAD #5749CF #8479DC #B0AAE9

Accessibility & contrast

On white

6.44
#5749CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5749CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749CF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749CF#FFFFFF#000000##FFFFFF
##5749CF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#0A6B85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5749cf;
/* rgb */ color: rgb(87, 73, 207);
/* oklch */ color: oklch(50.2% 0.198 281.2);
Tailwind
colors: {
  custom: {
    50: '#927ddf',
    500: '#5749cf',
    950: '#000000',
  },
}
SCSS
$custom: #5749cf;
$custom-light: #927ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5749cf",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 246.269,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.19811,
    "h": 281.2
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#5749CF
secondary
#D0D69E
accent
#E146D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5749CF

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

Preview Lab → · Contrast checker → · Palette generator →

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