#5741FF#5741FF

#5741FF is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 53.4% C 0.263 H 277.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5741FF
RGBrgb(87, 65, 255)
HSLhsl(247, 100%, 63%)
HSVhsv(247, 75%, 100%)
CMYKcmyk(65.9%, 74.5%, 0%, 0%)
CIE-LABlab(42.80, 61.98, -90.29)
CIE-LCHlch(42.80, 109.52, 304.47°)
OKLaboklab(53.4% 0.0359 -0.2609)
OKLCHoklch(53.4% 0.263 277.8)
XYZxyz(23.8649, 13.0248, 95.8447)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741FF #E9FF41
analogous
#418AFF #5741FF #B641FF
triadic
#5741FF #FF5741 #41FF57
tetradic
#5741FF #FF418A #E9FF41 #41FFB6
square
#5741FF #FF418A #E9FF41 #41FFB6
split-complementary
#5741FF #FFB641 #8AFF41
monochromatic
#1700C6 #2104FF #5741FF #8D7EFF #C3BBFF

Accessibility & contrast

On white

5.82
#5741FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5741FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741FF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741FF#FFFFFF#000000##FFFFFF
##5741FF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DFF
Deuteranopia (green-blind)
#005DFC
Tritanopia (blue-blind)
#00789E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5741ff;
/* rgb */ color: rgb(87, 65, 255);
/* oklch */ color: oklch(53.4% 0.263 277.8);
Tailwind
colors: {
  custom: {
    50: '#9b79ff',
    500: '#5741ff',
    950: '#000000',
  },
}
SCSS
$custom: #5741ff;
$custom-light: #9b79ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5741ff",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 255
  },
  "hsl": {
    "h": 246.947,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.26331,
    "h": 277.8
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#5741FF
secondary
#E8F0AC
accent
#E600CB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #5741FF

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

Preview Lab → · Contrast checker → · Palette generator →

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