#5748DA#5748DA

#5748DA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.213 H 280.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5748DA
RGBrgb(87, 72, 218)
HSLhsl(246, 66%, 57%)
HSVhsv(246, 67%, 85%)
CMYKcmyk(60.1%, 67%, 0%, 14.5%)
CIE-LABlab(40.77, 47.13, -72.72)
CIE-LCHlch(40.77, 86.66, 302.95°)
OKLaboklab(50.94% 0.0381 -0.2095)
OKLCHoklch(50.94% 0.213 280.3)
XYZxyz(18.8987, 11.7216, 67.5827)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748DA #CBDA48
analogous
#4882DA #5748DA #A048DA
triadic
#5748DA #DA5748 #48DA57
tetradic
#5748DA #DA4882 #CBDA48 #48DAA0
square
#5748DA #DA4882 #CBDA48 #48DAA0
split-complementary
#5748DA #DAA048 #82DA48
monochromatic
#281C8B #3626BE #5748DA #867BE4 #B4AEEF

Accessibility & contrast

On white

6.28
#5748DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5748DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748DA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748DA#FFFFFF#000000##FFFFFF
##5748DA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5748da;
/* rgb */ color: rgb(87, 72, 218);
/* oklch */ color: oklch(50.9% 0.213 280.3);
Tailwind
colors: {
  custom: {
    50: '#947ce7',
    500: '#5748da',
    950: '#000000',
  },
}
SCSS
$custom: #5748da;
$custom-light: #947ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5748da",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 246.164,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.21296,
    "h": 280.3
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#5748DA
secondary
#D7DDA1
accent
#E93FD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5748DA

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

Preview Lab → · Contrast checker → · Palette generator →

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