#5745D4#5745D4

#5745D4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.209 H 281.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5745D4
RGBrgb(87, 69, 212)
HSLhsl(248, 62%, 55%)
HSVhsv(248, 67%, 83%)
CMYKcmyk(59%, 67.5%, 0%, 16.9%)
CIE-LABlab(39.64, 46.98, -71.13)
CIE-LCHlch(39.64, 85.25, 303.44°)
OKLaboklab(49.97% 0.0414 -0.2048)
OKLCHoklch(49.97% 0.209 281.4)
XYZxyz(17.9385, 11.0347, 63.4592)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D4 #C2D445
analogous
#457BD4 #5745D4 #9E45D4
triadic
#5745D4 #D45745 #45D457
tetradic
#5745D4 #D4457B #C2D445 #45D49E
square
#5745D4 #D4457B #C2D445 #45D49E
split-complementary
#5745D4 #D49E45 #7BD445
monochromatic
#2A1E81 #3B29B3 #5745D4 #8477DF #B1A8EB

Accessibility & contrast

On white

6.55
#5745D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5745D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D4#FFFFFF#000000##FFFFFF
##5745D41.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5745d4;
/* rgb */ color: rgb(87, 69, 212);
/* oklch */ color: oklch(50.0% 0.209 281.4);
Tailwind
colors: {
  custom: {
    50: '#937ae2',
    500: '#5745d4',
    950: '#000000',
  },
}
SCSS
$custom: #5745d4;
$custom-light: #937ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d4",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 247.552,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.20899,
    "h": 281.4
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#5745D4
secondary
#D1D89C
accent
#E642D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5745D4

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

Preview Lab → · Contrast checker → · Palette generator →

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