#5540CD#5540CD

#5540CD is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.206 H 282.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5540CD
RGBrgb(85, 64, 205)
HSLhsl(249, 59%, 53%)
HSVhsv(249, 69%, 80%)
CMYKcmyk(58.5%, 68.8%, 0%, 19.6%)
CIE-LABlab(37.85, 47.35, -70.02)
CIE-LCHlch(37.85, 84.53, 304.06°)
OKLaboklab(48.46% 0.0438 -0.2017)
OKLCHoklch(48.46% 0.206 282.3)
XYZxyz(16.5957, 10.0048, 58.8024)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5540CD #B8CD40
analogous
#4072CD #5540CD #9B40CD
triadic
#5540CD #CD5540 #40CD55
tetradic
#5540CD #CD4072 #B8CD40 #40CD9B
square
#5540CD #CD4072 #B8CD40 #40CD9B
split-complementary
#5540CD #CD9B40 #72CD40
monochromatic
#2B1E74 #3D2BA5 #5540CD #8071DA #ABA1E6

Accessibility & contrast

On white

7.00
#5540CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5540CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5540CD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5540CD#FFFFFF#000000##FFFFFF
##5540CD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#036582
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5540cd;
/* rgb */ color: rgb(85, 64, 205);
/* oklch */ color: oklch(48.5% 0.206 282.3);
Tailwind
colors: {
  custom: {
    50: '#9177dd',
    500: '#5540cd',
    950: '#000000',
  },
}
SCSS
$custom: #5540cd;
$custom-light: #9177dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5540cd",
  "rgb": {
    "r": 85,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 248.936,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.20636,
    "h": 282.3
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#5540CD
secondary
#CAD396
accent
#E246CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5540CD

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

Preview Lab → · Contrast checker → · Palette generator →

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