#5741CC#5741CC

#5741CC is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.204 H 283.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5741CC
RGBrgb(87, 65, 204)
HSLhsl(249, 58%, 53%)
HSVhsv(249, 68%, 80%)
CMYKcmyk(57.4%, 68.1%, 0%, 20%)
CIE-LABlab(38.14, 46.79, -68.97)
CIE-LCHlch(38.14, 83.34, 304.15°)
OKLaboklab(48.68% 0.0459 -0.1985)
OKLCHoklch(48.68% 0.204 283)
XYZxyz(16.7165, 10.1654, 58.1963)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741CC #B6CC41
analogous
#4171CC #5741CC #9C41CC
triadic
#5741CC #CC5741 #41CC57
tetradic
#5741CC #CC4171 #B6CC41 #41CC9C
square
#5741CC #CC4171 #B6CC41 #41CC9C
split-complementary
#5741CC #CC9C41 #71CC41
monochromatic
#2C1F74 #3F2CA4 #5741CC #8271D9 #ACA1E6

Accessibility & contrast

On white

6.92
#5741CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5741CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741CC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741CC#FFFFFF#000000##FFFFFF
##5741CC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#156581
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5741cc;
/* rgb */ color: rgb(87, 65, 204);
/* oklch */ color: oklch(48.7% 0.204 283.0);
Tailwind
colors: {
  custom: {
    50: '#9277dd',
    500: '#5741cc',
    950: '#000000',
  },
}
SCSS
$custom: #5741cc;
$custom-light: #9277dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5741cc",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 249.496,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.20374,
    "h": 283
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#5741CC
secondary
#C9D396
accent
#E147C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741CC

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

Preview Lab → · Contrast checker → · Palette generator →

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