#5741CD#5741CD

#5741CD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.205 H 282.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5741CD
RGBrgb(87, 65, 205)
HSLhsl(249, 58%, 53%)
HSVhsv(249, 68%, 80%)
CMYKcmyk(57.6%, 68.3%, 0%, 19.6%)
CIE-LABlab(38.22, 47.09, -69.41)
CIE-LCHlch(38.22, 83.87, 304.15°)
OKLaboklab(48.77% 0.0457 -0.1998)
OKLCHoklch(48.77% 0.205 282.9)
XYZxyz(16.8368, 10.2135, 58.8300)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741CD #B7CD41
analogous
#4171CD #5741CD #9D41CD
triadic
#5741CD #CD5741 #41CD57
tetradic
#5741CD #CD4171 #B7CD41 #41CD9D
square
#5741CD #CD4171 #B7CD41 #41CD9D
split-complementary
#5741CD #CD9D41 #71CD41
monochromatic
#2C1F75 #3F2CA5 #5741CD #8271DA #ADA2E6

Accessibility & contrast

On white

6.90
#5741CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5741CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741CD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741CD#FFFFFF#000000##FFFFFF
##5741CD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#136682
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5741cd;
/* rgb */ color: rgb(87, 65, 205);
/* oklch */ color: oklch(48.8% 0.205 282.9);
Tailwind
colors: {
  custom: {
    50: '#9277dd',
    500: '#5741cd',
    950: '#000000',
  },
}
SCSS
$custom: #5741cd;
$custom-light: #9277dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5741cd",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 249.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48769,
    "c": 0.20496,
    "h": 282.9
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#5741CD
secondary
#CAD397
accent
#E246C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741CD

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

Preview Lab → · Contrast checker → · Palette generator →

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