#5740D0#5740D0

#5740D0 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.210 H 282.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5740D0
RGBrgb(87, 64, 208)
HSLhsl(250, 61%, 53%)
HSVhsv(250, 69%, 82%)
CMYKcmyk(58.2%, 69.2%, 0%, 18.4%)
CIE-LABlab(38.28, 48.55, -71.05)
CIE-LCHlch(38.28, 86.05, 304.34°)
OKLaboklab(48.89% 0.046 -0.2046)
OKLCHoklch(48.89% 0.21 282.7)
XYZxyz(17.1455, 10.2460, 60.7365)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5740D0 #B9D040
analogous
#4071D0 #5740D0 #9F40D0
triadic
#5740D0 #D05740 #40D057
tetradic
#5740D0 #D04071 #B9D040 #40D09F
square
#5740D0 #D04071 #B9D040 #40D09F
split-complementary
#5740D0 #D09F40 #71D040
monochromatic
#2C1E78 #3E2AA9 #5740D0 #8271DC #ADA2E8

Accessibility & contrast

On white

6.89
#5740D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5740D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5740D0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5740D0#FFFFFF#000000##FFFFFF
##5740D01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0055CD
Tritanopia (blue-blind)
#0A6683
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5740d0;
/* rgb */ color: rgb(87, 64, 208);
/* oklch */ color: oklch(48.9% 0.210 282.7);
Tailwind
colors: {
  custom: {
    50: '#9377e0',
    500: '#5740d0',
    950: '#000000',
  },
}
SCSS
$custom: #5740d0;
$custom-light: #9377e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5740d0",
  "rgb": {
    "r": 87,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 249.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.20972,
    "h": 282.7
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#5740D0
secondary
#CBD597
accent
#E444CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5740D0

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

Preview Lab → · Contrast checker → · Palette generator →

#5740D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva