#5748ED#5748ED

#5748ED is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.236 H 278.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5748ED
RGBrgb(87, 72, 237)
HSLhsl(245, 82%, 61%)
HSVhsv(245, 70%, 93%)
CMYKcmyk(63.3%, 69.6%, 0%, 7.1%)
CIE-LABlab(42.42, 52.98, -80.82)
CIE-LCHlch(42.42, 96.63, 303.24°)
OKLaboklab(52.63% 0.0353 -0.2332)
OKLCHoklch(52.63% 0.236 278.6)
XYZxyz(21.5290, 12.7737, 81.4354)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748ED #DEED48
analogous
#488BED #5748ED #AA48ED
triadic
#5748ED #ED5748 #48ED57
tetradic
#5748ED #ED488B #DEED48 #48EDAA
square
#5748ED #ED488B #DEED48 #48EDAA
split-complementary
#5748ED #EDAA48 #8BED48
monochromatic
#1F11AA #2916E2 #5748ED #8A80F2 #BDB7F8

Accessibility & contrast

On white

5.91
#5748ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5748ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748ED
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748ED#FFFFFF#000000##FFFFFF
##5748ED1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005DEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5748ed;
/* rgb */ color: rgb(87, 72, 237);
/* oklch */ color: oklch(52.6% 0.236 278.6);
Tailwind
colors: {
  custom: {
    50: '#977df4',
    500: '#5748ed',
    950: '#000000',
  },
}
SCSS
$custom: #5748ed;
$custom-light: #977df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5748ed",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 245.455,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.23587,
    "h": 278.6
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#5748ED
secondary
#E2E8A9
accent
#DE07CB
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5748ED

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

Preview Lab → · Contrast checker → · Palette generator →

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