#5749DB#5749DB

#5749DB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.213 H 280.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5749DB
RGBrgb(87, 73, 219)
HSLhsl(246, 67%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60.3%, 66.7%, 0%, 14.1%)
CIE-LABlab(41.06, 46.88, -72.82)
CIE-LCHlch(41.06, 86.60, 302.77°)
OKLaboklab(51.18% 0.0372 -0.2098)
OKLCHoklch(51.18% 0.213 280.1)
XYZxyz(19.0952, 11.9044, 68.2956)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749DB #CDDB49
analogous
#4984DB #5749DB #A049DB
triadic
#5749DB #DB5749 #49DB57
tetradic
#5749DB #DB4984 #CDDB49 #49DBA0
square
#5749DB #DB4984 #CDDB49 #49DBA0
split-complementary
#5749DB #DBA049 #84DB49
monochromatic
#271C8E #3526C1 #5749DB #867CE5 #B5AFEF

Accessibility & contrast

On white

6.21
#5749DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5749DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749DB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749DB#FFFFFF#000000##FFFFFF
##5749DB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5749db;
/* rgb */ color: rgb(87, 73, 219);
/* oklch */ color: oklch(51.2% 0.213 280.1);
Tailwind
colors: {
  custom: {
    50: '#947de7',
    500: '#5749db',
    950: '#000000',
  },
}
SCSS
$custom: #5749db;
$custom-light: #947de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5749db",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 245.753,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.21306,
    "h": 280.1
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#5749DB
secondary
#D8DDA2
accent
#EA3ED9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5749DB

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

Preview Lab → · Contrast checker → · Palette generator →

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