#5748DD#5748DD

#5748DD is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.217 H 280.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5748DD
RGBrgb(87, 72, 221)
HSLhsl(246, 69%, 57%)
HSVhsv(246, 67%, 87%)
CMYKcmyk(60.6%, 67.4%, 0%, 13.3%)
CIE-LABlab(41.02, 48.06, -74.02)
CIE-LCHlch(41.02, 88.26, 303.00°)
OKLaboklab(51.2% 0.0377 -0.2133)
OKLCHoklch(51.2% 0.217 280)
XYZxyz(19.2949, 11.8800, 69.6689)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748DD #CEDD48
analogous
#4884DD #5748DD #A148DD
triadic
#5748DD #DD5748 #48DD57
tetradic
#5748DD #DD4884 #CEDD48 #48DDA1
square
#5748DD #DD4884 #CEDD48 #48DDA1
split-complementary
#5748DD #DDA148 #84DD48
monochromatic
#271B90 #3424C3 #5748DD #867CE7 #B6AFF0

Accessibility & contrast

On white

6.22
#5748DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5748DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748DD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748DD#FFFFFF#000000##FFFFFF
##5748DD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005BDA
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5748dd;
/* rgb */ color: rgb(87, 72, 221);
/* oklch */ color: oklch(51.2% 0.217 280.0);
Tailwind
colors: {
  custom: {
    50: '#947ce9',
    500: '#5748dd',
    950: '#000000',
  },
}
SCSS
$custom: #5748dd;
$custom-light: #947ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5748dd",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 246.04,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.21664,
    "h": 280
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#5748DD
secondary
#D8DEA2
accent
#EC3CDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5748DD

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

Preview Lab → · Contrast checker → · Palette generator →

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