#5746CB#5746CB

#5746CB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.197 H 282.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5746CB
RGBrgb(87, 70, 203)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.1%, 65.5%, 0%, 20.4%)
CIE-LABlab(39.10, 43.64, -66.81)
CIE-LCHlch(39.10, 79.80, 303.15°)
OKLaboklab(49.35% 0.0417 -0.1922)
OKLCHoklch(49.35% 0.197 282.2)
XYZxyz(16.8968, 10.7173, 57.6666)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746CB #BACB46
analogous
#4677CB #5746CB #9946CB
triadic
#5746CB #CB5746 #46CB57
tetradic
#5746CB #CB4677 #BACB46 #46CB99
square
#5746CB #CB4677 #BACB46 #46CB99
split-complementary
#5746CB #CB9946 #77CB46
monochromatic
#2C2176 #3E2EA5 #5746CB #8276D8 #AEA6E6

Accessibility & contrast

On white

6.68
#5746CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5746CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746CB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746CB#FFFFFF#000000##FFFFFF
##5746CB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#166882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5746cb;
/* rgb */ color: rgb(87, 70, 203);
/* oklch */ color: oklch(49.3% 0.197 282.2);
Tailwind
colors: {
  custom: {
    50: '#927bdc',
    500: '#5746cb',
    950: '#000000',
  },
}
SCSS
$custom: #5746cb;
$custom-light: #927bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5746cb",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 247.669,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.19666,
    "h": 282.2
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#5746CB
secondary
#CCD39A
accent
#DF48CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5746CB

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

Preview Lab → · Contrast checker → · Palette generator →

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