#5741CE#5741CE

#5741CE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.206 H 282.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5741CE
RGBrgb(87, 65, 206)
HSLhsl(249, 59%, 53%)
HSVhsv(249, 68%, 81%)
CMYKcmyk(57.8%, 68.4%, 0%, 19.2%)
CIE-LABlab(38.31, 47.39, -69.85)
CIE-LCHlch(38.31, 84.41, 304.16°)
OKLaboklab(48.86% 0.0455 -0.2011)
OKLCHoklch(48.86% 0.206 282.8)
XYZxyz(16.9579, 10.2620, 59.4677)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741CE #B8CE41
analogous
#4171CE #5741CE #9E41CE
triadic
#5741CE #CE5741 #41CE57
tetradic
#5741CE #CE4171 #B8CE41 #41CE9E
square
#5741CE #CE4171 #B8CE41 #41CE9E
split-complementary
#5741CE #CE9E41 #71CE41
monochromatic
#2C1E76 #3E2BA7 #5741CE #8272DB #ADA2E7

Accessibility & contrast

On white

6.88
#5741CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5741CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741CE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741CE#FFFFFF#000000##FFFFFF
##5741CE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#106682
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5741ce;
/* rgb */ color: rgb(87, 65, 206);
/* oklch */ color: oklch(48.9% 0.206 282.8);
Tailwind
colors: {
  custom: {
    50: '#9277de',
    500: '#5741ce',
    950: '#000000',
  },
}
SCSS
$custom: #5741ce;
$custom-light: #9277de;
$custom-dark: #000000;
JSON
{
  "hex": "#5741ce",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 249.362,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.20617,
    "h": 282.8
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#5741CE
secondary
#CAD497
accent
#E246CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741CE

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

Preview Lab → · Contrast checker → · Palette generator →

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