#5748E1#5748E1

#5748E1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.222 H 279.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5748E1
RGBrgb(87, 72, 225)
HSLhsl(246, 72%, 58%)
HSVhsv(246, 68%, 88%)
CMYKcmyk(61.3%, 68%, 0%, 11.8%)
CIE-LABlab(41.37, 49.30, -75.74)
CIE-LCHlch(41.37, 90.37, 303.06°)
OKLaboklab(51.55% 0.0372 -0.2184)
OKLCHoklch(51.55% 0.222 279.7)
XYZxyz(19.8341, 12.0957, 72.5091)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748E1 #D2E148
analogous
#4886E1 #5748E1 #A348E1
triadic
#5748E1 #E15748 #48E157
tetradic
#5748E1 #E14886 #D2E148 #48E1A3
square
#5748E1 #E14886 #D2E148 #48E1A3
split-complementary
#5748E1 #E1A348 #86E148
monochromatic
#251996 #3221CB #5748E1 #877DEA #B8B1F2

Accessibility & contrast

On white

6.14
#5748E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5748E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748E1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748E1#FFFFFF#000000##FFFFFF
##5748E11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5748e1;
/* rgb */ color: rgb(87, 72, 225);
/* oklch */ color: oklch(51.6% 0.222 279.7);
Tailwind
colors: {
  custom: {
    50: '#957dec',
    500: '#5748e1',
    950: '#000000',
  },
}
SCSS
$custom: #5748e1;
$custom-light: #957dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5748e1",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 245.882,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.2215,
    "h": 279.7
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#5748E1
secondary
#DBE1A4
accent
#EF39DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5748E1

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

Preview Lab → · Contrast checker → · Palette generator →

#5748E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva