#5745D8#5745D8

#5745D8 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.214 H 281.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5745D8
RGBrgb(87, 69, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(59.7%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.98, 48.21, -72.87)
CIE-LCHlch(39.98, 87.37, 303.49°)
OKLaboklab(50.32% 0.0408 -0.2099)
OKLCHoklch(50.32% 0.214 281)
XYZxyz(18.4494, 11.2390, 66.1496)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D8 #C6D845
analogous
#457CD8 #5745D8 #A045D8
triadic
#5745D8 #D85745 #45D857
tetradic
#5745D8 #D8457C #C6D845 #45D8A0
square
#5745D8 #D8457C #C6D845 #45D8A0
split-complementary
#5745D8 #D8A045 #7CD845
monochromatic
#291C86 #3927B9 #5745D8 #8578E3 #B2AAED

Accessibility & contrast

On white

6.47
#5745D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5745D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D8#FFFFFF#000000##FFFFFF
##5745D81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5745d8;
/* rgb */ color: rgb(87, 69, 216);
/* oklch */ color: oklch(50.3% 0.214 281.0);
Tailwind
colors: {
  custom: {
    50: '#947ae5',
    500: '#5745d8',
    950: '#000000',
  },
}
SCSS
$custom: #5745d8;
$custom-light: #947ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d8",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 247.347,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.21387,
    "h": 281
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#5745D8
secondary
#D3DB9E
accent
#E840D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5745D8

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

Preview Lab → · Contrast checker → · Palette generator →

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