#5746FF#5746FF

#5746FF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 54.0% C 0.259 H 277.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5746FF
RGBrgb(87, 70, 255)
HSLhsl(246, 100%, 64%)
HSVhsv(246, 73%, 100%)
CMYKcmyk(65.9%, 72.5%, 0%, 0%)
CIE-LABlab(43.69, 59.47, -88.83)
CIE-LCHlch(43.69, 106.90, 303.80°)
OKLaboklab(54.03% 0.0332 -0.2566)
OKLCHoklch(54.03% 0.259 277.4)
XYZxyz(24.1648, 13.6245, 95.9447)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746FF #EEFF46
analogous
#4691FF #5746FF #B446FF
triadic
#5746FF #FF5746 #46FF57
tetradic
#5746FF #FF4691 #EEFF46 #46FFB4
square
#5746FF #FF4691 #EEFF46 #46FFB4
split-complementary
#5746FF #FFB446 #91FF46
monochromatic
#1300CB #1F09FF #5746FF #8F83FF #C6C0FF

Accessibility & contrast

On white

5.64
#5746FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5746FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746FF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746FF#FFFFFF#000000##FFFFFF
##5746FF1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#005FFC
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5746ff;
/* rgb */ color: rgb(87, 70, 255);
/* oklch */ color: oklch(54.0% 0.259 277.4);
Tailwind
colors: {
  custom: {
    50: '#9b7cff',
    500: '#5746ff',
    950: '#000000',
  },
}
SCSS
$custom: #5746ff;
$custom-light: #9b7cff;
$custom-dark: #000000;
JSON
{
  "hex": "#5746ff",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 245.514,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.25875,
    "h": 277.4
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#5746FF
secondary
#EBF1B0
accent
#E600D0
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5746FF

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

Preview Lab → · Contrast checker → · Palette generator →

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