#6352CC#6352CC

#6352CC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.181 H 284.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6352CC
RGBrgb(99, 82, 204)
HSLhsl(248, 54%, 56%)
HSVhsv(248, 60%, 80%)
CMYKcmyk(51.5%, 59.8%, 0%, 20%)
CIE-LABlab(42.83, 39.07, -61.27)
CIE-LCHlch(42.83, 72.67, 302.52°)
OKLaboklab(52.34% 0.0456 -0.1755)
OKLCHoklch(52.34% 0.181 284.6)
XYZxyz(19.0587, 13.0459, 58.6289)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6352CC #BBCC52
analogous
#527ECC #6352CC #A052CC
triadic
#6352CC #CC6352 #52CC63
tetradic
#6352CC #CC527E #BBCC52 #52CCA0
square
#6352CC #CC527E #BBCC52 #52CCA0
split-complementary
#6352CC #CCA052 #7ECC52
monochromatic
#32257E #4433AE #6352CC #8E81DA #B8B1E8

Accessibility & contrast

On white

5.82
#6352CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6352CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6352CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6352CC#FFFFFF#000000##FFFFFF
##6352CC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#3A6F87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6352cc;
/* rgb */ color: rgb(99, 82, 204);
/* oklch */ color: oklch(52.3% 0.181 284.6);
Tailwind
colors: {
  custom: {
    50: '#9883dc',
    500: '#6352cc',
    950: '#000000',
  },
}
SCSS
$custom: #6352cc;
$custom-light: #9883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6352cc",
  "rgb": {
    "r": 99,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 248.361,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.18135,
    "h": 284.6
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#6352CC
secondary
#CFD6A4
accent
#DE4AC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6352CC

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

Preview Lab → · Contrast checker → · Palette generator →

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