#5540CF#5540CF

#5540CF is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.209 H 282.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5540CF
RGBrgb(85, 64, 207)
HSLhsl(249, 60%, 53%)
HSVhsv(249, 69%, 81%)
CMYKcmyk(58.9%, 69.1%, 0%, 18.8%)
CIE-LABlab(38.02, 47.95, -70.90)
CIE-LCHlch(38.02, 85.59, 304.07°)
OKLaboklab(48.64% 0.0435 -0.2042)
OKLCHoklch(48.64% 0.209 282)
XYZxyz(16.8387, 10.1019, 60.0819)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5540CF #BACF40
analogous
#4072CF #5540CF #9C40CF
triadic
#5540CF #CF5540 #40CF55
tetradic
#5540CF #CF4072 #BACF40 #40CF9C
square
#5540CF #CF4072 #BACF40 #40CF9C
split-complementary
#5540CF #CF9C40 #72CF40
monochromatic
#2B1E77 #3D2AA8 #5540CF #8171DB #ACA2E8

Accessibility & contrast

On white

6.95
#5540CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5540CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5540CF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5540CF#FFFFFF#000000##FFFFFF
##5540CF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5540cf;
/* rgb */ color: rgb(85, 64, 207);
/* oklch */ color: oklch(48.6% 0.209 282.0);
Tailwind
colors: {
  custom: {
    50: '#9277df',
    500: '#5540cf',
    950: '#000000',
  },
}
SCSS
$custom: #5540cf;
$custom-light: #9277df;
$custom-dark: #000000;
JSON
{
  "hex": "#5540cf",
  "rgb": {
    "r": 85,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 248.811,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.2088,
    "h": 282
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#5540CF
secondary
#CBD497
accent
#E345CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5540CF

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

Preview Lab → · Contrast checker → · Palette generator →

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