#5745E2#5745E2

#5745E2 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.226 H 280.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5745E2
RGBrgb(87, 69, 226)
HSLhsl(247, 73%, 58%)
HSVhsv(247, 69%, 89%)
CMYKcmyk(61.5%, 69.5%, 0%, 11.4%)
CIE-LABlab(40.85, 51.26, -77.16)
CIE-LCHlch(40.85, 92.63, 303.60°)
OKLaboklab(51.21% 0.0392 -0.2225)
OKLCHoklch(51.21% 0.226 280)
XYZxyz(19.7817, 11.7720, 73.1665)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745E2 #D0E245
analogous
#4581E2 #5745E2 #A545E2
triadic
#5745E2 #E25745 #45E257
tetradic
#5745E2 #E24581 #D0E245 #45E2A5
square
#5745E2 #E24581 #D0E245 #45E2A5
split-complementary
#5745E2 #E2A545 #81E245
monochromatic
#261795 #3320CA #5745E2 #877AEA #B7AFF3

Accessibility & contrast

On white

6.26
#5745E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5745E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745E2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745E2#FFFFFF#000000##FFFFFF
##5745E21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#006F8F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5745e2;
/* rgb */ color: rgb(87, 69, 226);
/* oklch */ color: oklch(51.2% 0.226 280.0);
Tailwind
colors: {
  custom: {
    50: '#967bec',
    500: '#5745e2',
    950: '#000000',
  },
}
SCSS
$custom: #5745e2;
$custom-light: #967bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5745e2",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 246.879,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.22593,
    "h": 280
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#5745E2
secondary
#DAE1A2
accent
#F038DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5745E2

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

Preview Lab → · Contrast checker → · Palette generator →

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