#6552CC#6552CC

#6552CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.5% C 0.181 H 285.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6552CC
RGBrgb(101, 82, 204)
HSLhsl(249, 54%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(50.5%, 59.8%, 0%, 20%)
CIE-LABlab(43.00, 39.46, -60.99)
CIE-LCHlch(43.00, 72.64, 302.90°)
OKLaboklab(52.51% 0.0482 -0.1746)
OKLCHoklch(52.51% 0.181 285.4)
XYZxyz(19.2800, 13.1600, 58.6393)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552CC #B9CC52
analogous
#527CCC #6552CC #A252CC
triadic
#6552CC #CC6552 #52CC65
tetradic
#6552CC #CC527C #B9CC52 #52CCA2
square
#6552CC #CC527C #B9CC52 #52CCA2
split-complementary
#6552CC #CCA252 #7CCC52
monochromatic
#33257E #4633AE #6552CC #8F81DA #B9B1E8

Accessibility & contrast

On white

5.78
#6552CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6552CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552CC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552CC#FFFFFF#000000##FFFFFF
##6552CC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#3F6F87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6552cc;
/* rgb */ color: rgb(101, 82, 204);
/* oklch */ color: oklch(52.5% 0.181 285.4);
Tailwind
colors: {
  custom: {
    50: '#9983dc',
    500: '#6552cc',
    950: '#000000',
  },
}
SCSS
$custom: #6552cc;
$custom-light: #9983dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6552cc",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 249.344,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.18115,
    "h": 285.4
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#6552CC
secondary
#CED6A4
accent
#DE4AC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6552CC

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

Preview Lab → · Contrast checker → · Palette generator →

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