#5741CA#5741CA

#5741CA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.201 H 283.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5741CA
RGBrgb(87, 65, 202)
HSLhsl(250, 56%, 52%)
HSVhsv(250, 68%, 79%)
CMYKcmyk(56.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(37.97, 46.18, -68.09)
CIE-LCHlch(37.97, 82.27, 304.15°)
OKLaboklab(48.51% 0.0461 -0.1959)
OKLCHoklch(48.51% 0.201 283.3)
XYZxyz(16.4782, 10.0701, 56.9411)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741CA #B4CA41
analogous
#4170CA #5741CA #9C41CA
triadic
#5741CA #CA5741 #41CA57
tetradic
#5741CA #CA4170 #B4CA41 #41CA9C
square
#5741CA #CA4170 #B4CA41 #41CA9C
split-complementary
#5741CA #CA9C41 #70CA41
monochromatic
#2D2071 #402DA1 #5741CA #8171D7 #ACA1E5

Accessibility & contrast

On white

6.97
#5741CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5741CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741CA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741CA#FFFFFF#000000##FFFFFF
##5741CA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#196580
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5741ca;
/* rgb */ color: rgb(87, 65, 202);
/* oklch */ color: oklch(48.5% 0.201 283.3);
Tailwind
colors: {
  custom: {
    50: '#9277db',
    500: '#5741ca',
    950: '#000000',
  },
}
SCSS
$custom: #5741ca;
$custom-light: #9277db;
$custom-dark: #000000;
JSON
{
  "hex": "#5741ca",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 249.635,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.20128,
    "h": 283.3
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#5741CA
secondary
#C8D196
accent
#E048C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5741CA

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

Preview Lab → · Contrast checker → · Palette generator →

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