#5748DB#5748DB

#5748DB is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.214 H 280.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5748DB
RGBrgb(87, 72, 219)
HSLhsl(246, 67%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60.3%, 67.1%, 0%, 14.1%)
CIE-LABlab(40.85, 47.44, -73.16)
CIE-LCHlch(40.85, 87.19, 302.96°)
OKLaboklab(51.03% 0.038 -0.2108)
OKLCHoklch(51.03% 0.214 280.2)
XYZxyz(19.0300, 11.7741, 68.2739)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748DB #CCDB48
analogous
#4883DB #5748DB #A048DB
triadic
#5748DB #DB5748 #48DB57
tetradic
#5748DB #DB4883 #CCDB48 #48DBA0
square
#5748DB #DB4883 #CCDB48 #48DBA0
split-complementary
#5748DB #DBA048 #83DB48
monochromatic
#271C8D #3626C0 #5748DB #867BE5 #B5AEEF

Accessibility & contrast

On white

6.26
#5748DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5748DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748DB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748DB#FFFFFF#000000##FFFFFF
##5748DB1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5748db;
/* rgb */ color: rgb(87, 72, 219);
/* oklch */ color: oklch(51.0% 0.214 280.2);
Tailwind
colors: {
  custom: {
    50: '#947ce7',
    500: '#5748db',
    950: '#000000',
  },
}
SCSS
$custom: #5748db;
$custom-light: #947ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5748db",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 246.122,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.21419,
    "h": 280.2
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#5748DB
secondary
#D7DDA2
accent
#EA3ED8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5748DB

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

Preview Lab → · Contrast checker → · Palette generator →

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