#5745D0#5745D0

#5745D0 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.204 H 281.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5745D0
RGBrgb(87, 69, 208)
HSLhsl(248, 60%, 54%)
HSVhsv(248, 67%, 82%)
CMYKcmyk(58.2%, 66.8%, 0%, 18.4%)
CIE-LABlab(39.30, 45.75, -69.38)
CIE-LCHlch(39.30, 83.11, 303.40°)
OKLaboklab(49.62% 0.0419 -0.1997)
OKLCHoklch(49.62% 0.204 281.9)
XYZxyz(17.4402, 10.8354, 60.8347)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D0 #BED045
analogous
#4579D0 #5745D0 #9D45D0
triadic
#5745D0 #D05745 #45D057
tetradic
#5745D0 #D04579 #BED045 #45D09D
square
#5745D0 #D04579 #BED045 #45D09D
split-complementary
#5745D0 #D09D45 #79D045
monochromatic
#2B1F7B #3C2CAC #5745D0 #8376DC #AFA7E9

Accessibility & contrast

On white

6.63
#5745D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5745D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D0#FFFFFF#000000##FFFFFF
##5745D01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#086985
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5745d0;
/* rgb */ color: rgb(87, 69, 208);
/* oklch */ color: oklch(49.6% 0.204 281.9);
Tailwind
colors: {
  custom: {
    50: '#937adf',
    500: '#5745d0',
    950: '#000000',
  },
}
SCSS
$custom: #5745d0;
$custom-light: #937adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d0",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 247.77,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.20406,
    "h": 281.9
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#5745D0
secondary
#CED69B
accent
#E345CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745D0

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

Preview Lab → · Contrast checker → · Palette generator →

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