#5744C2#5744C2

#5744C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.188 H 283.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5744C2
RGBrgb(87, 68, 194)
HSLhsl(249, 51%, 51%)
HSVhsv(249, 65%, 76%)
CMYKcmyk(55.2%, 64.9%, 0%, 23.9%)
CIE-LABlab(37.94, 42.03, -63.47)
CIE-LCHlch(37.94, 76.12, 303.51°)
OKLaboklab(48.28% 0.0445 -0.1824)
OKLCHoklch(48.28% 0.188 283.7)
XYZxyz(15.7322, 10.0546, 52.1402)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5744C2 #AFC244
analogous
#4470C2 #5744C2 #9644C2
triadic
#5744C2 #C25744 #44C257
tetradic
#5744C2 #C24470 #AFC244 #44C296
square
#5744C2 #C24470 #AFC244 #44C296
split-complementary
#5744C2 #C29644 #70C244
monochromatic
#2D2269 #413197 #5744C2 #8072D1 #AAA0E0

Accessibility & contrast

On white

6.97
#5744C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5744C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5744C2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5744C2#FFFFFF#000000##FFFFFF
##5744C21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#25637D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5744c2;
/* rgb */ color: rgb(87, 68, 194);
/* oklch */ color: oklch(48.3% 0.188 283.7);
Tailwind
colors: {
  custom: {
    50: '#9079d5',
    500: '#5744c2',
    950: '#000000',
  },
}
SCSS
$custom: #5744c2;
$custom-light: #9079d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5744c2",
  "rgb": {
    "r": 87,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 249.048,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.18773,
    "h": 283.7
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#5744C2
secondary
#C4CD95
accent
#DA4EC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5744C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5744C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva