#5540CC#5540CC

#5540CC is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.205 H 282.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5540CC
RGBrgb(85, 64, 204)
HSLhsl(249, 58%, 53%)
HSVhsv(249, 69%, 80%)
CMYKcmyk(58.3%, 68.6%, 0%, 20%)
CIE-LABlab(37.76, 47.04, -69.59)
CIE-LCHlch(37.76, 83.99, 304.06°)
OKLaboklab(48.37% 0.044 -0.2004)
OKLCHoklch(48.37% 0.205 282.4)
XYZxyz(16.4754, 9.9566, 58.1687)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5540CC #B7CC40
analogous
#4071CC #5540CC #9B40CC
triadic
#5540CC #CC5540 #40CC55
tetradic
#5540CC #CC4071 #B7CC40 #40CC9B
square
#5540CC #CC4071 #B7CC40 #40CC9B
split-complementary
#5540CC #CC9B40 #71CC40
monochromatic
#2B1F73 #3E2CA3 #5540CC #8070D9 #ABA1E6

Accessibility & contrast

On white

7.02
#5540CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5540CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5540CC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5540CC#FFFFFF#000000##FFFFFF
##5540CC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#076581
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5540cc;
/* rgb */ color: rgb(85, 64, 204);
/* oklch */ color: oklch(48.4% 0.205 282.4);
Tailwind
colors: {
  custom: {
    50: '#9177dd',
    500: '#5540cc',
    950: '#000000',
  },
}
SCSS
$custom: #5540cc;
$custom-light: #9177dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5540cc",
  "rgb": {
    "r": 85,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 249,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.20515,
    "h": 282.4
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#5540CC
secondary
#C9D295
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5540CC

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

Preview Lab → · Contrast checker → · Palette generator →

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