#6552EB#6552EB

#6552EB is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.220 H 282.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6552EB
RGBrgb(101, 82, 235)
HSLhsl(247, 79%, 62%)
HSVhsv(247, 65%, 92%)
CMYKcmyk(57%, 65.1%, 0%, 7.8%)
CIE-LABlab(45.36, 48.80, -74.84)
CIE-LCHlch(45.36, 89.34, 303.10°)
OKLaboklab(54.96% 0.0457 -0.2153)
OKLCHoklch(54.96% 0.22 282)
XYZxyz(23.3749, 14.7979, 80.2057)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552EB #D8EB52
analogous
#528CEB #6552EB #B252EB
triadic
#6552EB #EB6552 #52EB65
tetradic
#6552EB #EB528C #D8EB52 #52EBB2
square
#6552EB #EB528C #D8EB52 #52EBB2
split-complementary
#6552EB #EBB252 #8CEB52
monochromatic
#2714AE #341BE5 #6552EB #9689F1 #C7C0F8

Accessibility & contrast

On white

5.30
#6552EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6552EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552EB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552EB#FFFFFF#000000##FFFFFF
##6552EB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#177997
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6552eb;
/* rgb */ color: rgb(101, 82, 235);
/* oklch */ color: oklch(55.0% 0.220 282.0);
Tailwind
colors: {
  custom: {
    50: '#9d84f3',
    500: '#6552eb',
    950: '#000000',
  },
}
SCSS
$custom: #6552eb;
$custom-light: #9d84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6552eb",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 247.451,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54961,
    "c": 0.22011,
    "h": 282
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#6552EB
secondary
#E2E8B0
accent
#DC0AC2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6552EB

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

Preview Lab → · Contrast checker → · Palette generator →

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