#6552CB#6552CB

#6552CB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.180 H 285.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6552CB
RGBrgb(101, 82, 203)
HSLhsl(249, 54%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(50.2%, 59.6%, 0%, 20.4%)
CIE-LABlab(42.93, 39.16, -60.53)
CIE-LCHlch(42.93, 72.09, 302.90°)
OKLaboklab(52.43% 0.0483 -0.1733)
OKLCHoklch(52.43% 0.18 285.6)
XYZxyz(19.1604, 13.1121, 58.0096)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552CB #B8CB52
analogous
#527BCB #6552CB #A152CB
triadic
#6552CB #CB6552 #52CB65
tetradic
#6552CB #CB527B #B8CB52 #52CBA1
square
#6552CB #CB527B #B8CB52 #52CBA1
split-complementary
#6552CB #CBA152 #7BCB52
monochromatic
#33267D #4734AC #6552CB #8F81D9 #B9B0E7

Accessibility & contrast

On white

5.80
#6552CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6552CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552CB#FFFFFF#000000##FFFFFF
##6552CB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#3F6E87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6552cb;
/* rgb */ color: rgb(101, 82, 203);
/* oklch */ color: oklch(52.4% 0.180 285.6);
Tailwind
colors: {
  custom: {
    50: '#9983dc',
    500: '#6552cb',
    950: '#000000',
  },
}
SCSS
$custom: #6552cb;
$custom-light: #9983dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6552cb",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 249.421,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.17985,
    "h": 285.6
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#6552CB
secondary
#CED5A3
accent
#DD4BC6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6552CB

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

Preview Lab → · Contrast checker → · Palette generator →

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