#5745B2#5745B2

#5745B2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.166 H 285.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5745B2
RGBrgb(87, 69, 178)
HSLhsl(250, 44%, 48%)
HSVhsv(250, 61%, 70%)
CMYKcmyk(51.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(36.92, 36.52, -55.72)
CIE-LCHlch(36.92, 66.62, 303.24°)
OKLaboklab(47.15% 0.0448 -0.1596)
OKLCHoklch(47.15% 0.166 285.7)
XYZxyz(14.0921, 9.4961, 43.2012)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745B2 #A0B245
analogous
#4569B2 #5745B2 #8D45B2
triadic
#5745B2 #B25745 #45B257
tetradic
#5745B2 #B24569 #A0B245 #45B28D
square
#5745B2 #B24569 #A0B245 #45B28D
split-complementary
#5745B2 #B28D45 #69B245
monochromatic
#2C235A #413486 #5745B2 #7C6EC7 #A49AD8

Accessibility & contrast

On white

7.24
#5745B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5745B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5745B2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745B2#FFFFFF#000000##FFFFFF
##5745B21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#355F75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5745b2;
/* rgb */ color: rgb(87, 69, 178);
/* oklch */ color: oklch(47.2% 0.166 285.7);
Tailwind
colors: {
  custom: {
    50: '#8e79ca',
    500: '#5745b2',
    950: '#000000',
  },
}
SCSS
$custom: #5745b2;
$custom-light: #8e79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5745b2",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 249.908,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.16576,
    "h": 285.7
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#5745B2
secondary
#BBC48F
accent
#D454BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5745B2

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

Preview Lab → · Contrast checker → · Palette generator →

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