#5746DB#5746DB

#5746DB is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.216 H 280.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5746DB
RGBrgb(87, 70, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 68%, 86%)
CMYKcmyk(60.3%, 68%, 0%, 14.1%)
CIE-LABlab(40.44, 48.57, -73.83)
CIE-LCHlch(40.44, 88.38, 303.34°)
OKLaboklab(50.73% 0.0396 -0.2128)
OKLCHoklch(50.73% 0.216 280.5)
XYZxyz(18.9028, 11.5197, 68.2315)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746DB #CADB46
analogous
#4680DB #5746DB #A246DB
triadic
#5746DB #DB5746 #46DB57
tetradic
#5746DB #DB4680 #CADB46 #46DBA2
square
#5746DB #DB4680 #CADB46 #46DBA2
split-complementary
#5746DB #DBA246 #80DB46
monochromatic
#281B8B #3725BF #5746DB #8679E5 #B4ACEF

Accessibility & contrast

On white

6.36
#5746DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5746DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746DB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746DB#FFFFFF#000000##FFFFFF
##5746DB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5746db;
/* rgb */ color: rgb(87, 70, 219);
/* oklch */ color: oklch(50.7% 0.216 280.5);
Tailwind
colors: {
  custom: {
    50: '#947be7',
    500: '#5746db',
    950: '#000000',
  },
}
SCSS
$custom: #5746db;
$custom-light: #947be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5746db",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 246.846,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50731,
    "c": 0.21642,
    "h": 280.5
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#5746DB
secondary
#D6DDA0
accent
#EA3DD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5746DB

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

Preview Lab → · Contrast checker → · Palette generator →

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