#6852DD#6852DD

#6852DD is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.202 H 284.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6852DD
RGBrgb(104, 82, 221)
HSLhsl(249, 67%, 59%)
HSVhsv(249, 63%, 87%)
CMYKcmyk(52.9%, 62.9%, 0%, 13.3%)
CIE-LABlab(44.51, 45.10, -68.27)
CIE-LCHlch(44.51, 81.82, 303.45°)
OKLaboklab(54.07% 0.051 -0.1959)
OKLCHoklch(54.07% 0.202 284.6)
XYZxyz(21.7734, 14.1969, 69.9856)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852DD #C7DD52
analogous
#5282DD #6852DD #AD52DD
triadic
#6852DD #DD6852 #52DD68
tetradic
#6852DD #DD5282 #C7DD52 #52DDAD
square
#6852DD #DD5282 #C7DD52 #52DDAD
split-complementary
#6852DD #DDAD52 #82DD52
monochromatic
#311E97 #4128CA #6852DD #9585E7 #C1B8F1

Accessibility & contrast

On white

5.47
#6852DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6852DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852DD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852DD#FFFFFF#000000##FFFFFF
##6852DD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#377490
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6852dd;
/* rgb */ color: rgb(104, 82, 221);
/* oklch */ color: oklch(54.1% 0.202 284.6);
Tailwind
colors: {
  custom: {
    50: '#9d84e9',
    500: '#6852dd',
    950: '#000000',
  },
}
SCSS
$custom: #6852dd;
$custom-light: #9d84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6852dd",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 249.496,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.20245,
    "h": 284.6
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#6852DD
secondary
#D8E0AA
accent
#EA3ECF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852DD

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

Preview Lab → · Contrast checker → · Palette generator →

#6852DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva