#5541BA#5541BA

#5541BA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.182 H 284.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5541BA
RGBrgb(85, 65, 186)
HSLhsl(250, 48%, 49%)
HSVhsv(250, 65%, 73%)
CMYKcmyk(54.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(36.47, 40.97, -61.18)
CIE-LCHlch(36.47, 73.63, 303.81°)
OKLaboklab(46.98% 0.0455 -0.1757)
OKLCHoklch(46.98% 0.182 284.5)
XYZxyz(14.4969, 9.2562, 47.4676)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541BA #A6BA41
analogous
#416ABA #5541BA #9241BA
triadic
#5541BA #BA5541 #41BA55
tetradic
#5541BA #BA416A #A6BA41 #41BA92
square
#5541BA #BA416A #A6BA41 #41BA92
split-complementary
#5541BA #BA9241 #6ABA41
monochromatic
#2C215F #40318D #5541BA #7C6CCC #A59ADC

Accessibility & contrast

On white

7.36
#5541BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5541BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5541BA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541BA#FFFFFF#000000##FFFFFF
##5541BA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#295F78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5541ba;
/* rgb */ color: rgb(85, 65, 186);
/* oklch */ color: oklch(47.0% 0.182 284.5);
Tailwind
colors: {
  custom: {
    50: '#8e77d0',
    500: '#5541ba',
    950: '#000000',
  },
}
SCSS
$custom: #5541ba;
$custom-light: #8e77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5541ba",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 249.917,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.18152,
    "h": 284.5
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#5541BA
secondary
#BEC88F
accent
#D850C1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5541BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5541BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva