#5541EA#5541EA

#5541EA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.3% C 0.240 H 279.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5541EA
RGBrgb(85, 65, 234)
HSLhsl(247, 80%, 59%)
HSVhsv(247, 72%, 92%)
CMYKcmyk(63.7%, 72.2%, 0%, 8.2%)
CIE-LABlab(40.66, 55.57, -82.03)
CIE-LCHlch(40.66, 99.08, 304.11°)
OKLaboklab(51.25% 0.0378 -0.2368)
OKLCHoklch(51.25% 0.24 279.1)
XYZxyz(20.4831, 11.6508, 78.9954)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541EA #D6EA41
analogous
#4181EA #5541EA #AA41EA
triadic
#5541EA #EA5541 #41EA55
tetradic
#5541EA #EA4181 #D6EA41 #41EAAA
square
#5541EA #EA4181 #D6EA41 #41EAAA
split-complementary
#5541EA #EAAA41 #81EA41
monochromatic
#22129F #2E18D6 #5541EA #8678F0 #B8AFF6

Accessibility & contrast

On white

6.31
#5541EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5541EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5541EA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541EA#FFFFFF#000000##FFFFFF
##5541EA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EF
Deuteranopia (green-blind)
#0059E7
Tritanopia (blue-blind)
#007092
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5541ea;
/* rgb */ color: rgb(85, 65, 234);
/* oklch */ color: oklch(51.3% 0.240 279.1);
Tailwind
colors: {
  custom: {
    50: '#9678f2',
    500: '#5541ea',
    950: '#000000',
  },
}
SCSS
$custom: #5541ea;
$custom-light: #9678f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5541ea",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 247.101,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.23979,
    "h": 279.1
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#5541EA
secondary
#DDE5A2
accent
#F731DF
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5541EA

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

Preview Lab → · Contrast checker → · Palette generator →

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