#5540CE#5540CE

#5540CE is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.208 H 282.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5540CE
RGBrgb(85, 64, 206)
HSLhsl(249, 59%, 53%)
HSVhsv(249, 69%, 81%)
CMYKcmyk(58.7%, 68.9%, 0%, 19.2%)
CIE-LABlab(37.94, 47.65, -70.46)
CIE-LCHlch(37.94, 85.06, 304.07°)
OKLaboklab(48.55% 0.0437 -0.2029)
OKLCHoklch(48.55% 0.208 282.1)
XYZxyz(16.7168, 10.0532, 59.4401)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5540CE #B9CE40
analogous
#4072CE #5540CE #9C40CE
triadic
#5540CE #CE5540 #40CE55
tetradic
#5540CE #CE4072 #B9CE40 #40CE9C
square
#5540CE #CE4072 #B9CE40 #40CE9C
split-complementary
#5540CE #CE9C40 #72CE40
monochromatic
#2B1E75 #3D2BA6 #5540CE #8071DA #ACA1E7

Accessibility & contrast

On white

6.97
#5540CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5540CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5540CE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5540CE#FFFFFF#000000##FFFFFF
##5540CE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5540ce;
/* rgb */ color: rgb(85, 64, 206);
/* oklch */ color: oklch(48.5% 0.208 282.1);
Tailwind
colors: {
  custom: {
    50: '#9177de',
    500: '#5540ce',
    950: '#000000',
  },
}
SCSS
$custom: #5540ce;
$custom-light: #9177de;
$custom-dark: #000000;
JSON
{
  "hex": "#5540ce",
  "rgb": {
    "r": 85,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 248.873,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.20758,
    "h": 282.1
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#5540CE
secondary
#CBD496
accent
#E245CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5540CE

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

Preview Lab → · Contrast checker → · Palette generator →

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