#5741CF#5741CF

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

Color values

HEX#5741CF
RGBrgb(87, 65, 207)
HSLhsl(249, 60%, 53%)
HSVhsv(249, 69%, 81%)
CMYKcmyk(58%, 68.6%, 0%, 18.8%)
CIE-LABlab(38.39, 47.69, -70.28)
CIE-LCHlch(38.39, 84.94, 304.16°)
OKLaboklab(48.94% 0.0454 -0.2024)
OKLCHoklch(48.94% 0.207 282.6)
XYZxyz(17.0798, 10.3107, 60.1095)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741CF #B9CF41
analogous
#4172CF #5741CF #9E41CF
triadic
#5741CF #CF5741 #41CF57
tetradic
#5741CF #CF4172 #B9CF41 #41CF9E
square
#5741CF #CF4172 #B9CF41 #41CF9E
split-complementary
#5741CF #CF9E41 #72CF41
monochromatic
#2C1E77 #3E2BA8 #5741CF #8272DB #ADA3E8

Accessibility & contrast

On white

6.86
#5741CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5741CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741CF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741CF#FFFFFF#000000##FFFFFF
##5741CF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#0D6683
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5741cf;
/* rgb */ color: rgb(87, 65, 207);
/* oklch */ color: oklch(48.9% 0.207 282.6);
Tailwind
colors: {
  custom: {
    50: '#9377df',
    500: '#5741cf',
    950: '#000000',
  },
}
SCSS
$custom: #5741cf;
$custom-light: #9377df;
$custom-dark: #000000;
JSON
{
  "hex": "#5741cf",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 249.296,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.20739,
    "h": 282.6
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#5741CF
secondary
#CBD497
accent
#E345CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741CF

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

Preview Lab → · Contrast checker → · Palette generator →

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