#6852DC#6852DC

#6852DC is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.201 H 284.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6852DC
RGBrgb(104, 82, 220)
HSLhsl(250, 66%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.44, 44.80, -67.82)
CIE-LCHlch(44.44, 81.28, 303.45°)
OKLaboklab(53.99% 0.0511 -0.1946)
OKLCHoklch(53.99% 0.201 284.7)
XYZxyz(21.6406, 14.1438, 69.2860)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852DC #C6DC52
analogous
#5281DC #6852DC #AD52DC
triadic
#6852DC #DC6852 #52DC68
tetradic
#6852DC #DC5281 #C6DC52 #52DCAD
square
#6852DC #DC5281 #C6DC52 #52DCAD
split-complementary
#6852DC #DCAD52 #81DC52
monochromatic
#311E95 #4229C8 #6852DC #9485E6 #C1B8F1

Accessibility & contrast

On white

5.48
#6852DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6852DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852DC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852DC#FFFFFF#000000##FFFFFF
##6852DC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#38748F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6852dc;
/* rgb */ color: rgb(104, 82, 220);
/* oklch */ color: oklch(54.0% 0.201 284.7);
Tailwind
colors: {
  custom: {
    50: '#9d84e8',
    500: '#6852dc',
    950: '#000000',
  },
}
SCSS
$custom: #6852dc;
$custom-light: #9d84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6852dc",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 249.565,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.2012,
    "h": 284.7
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#6852DC
secondary
#D7E0AA
accent
#E93FCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852DC

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

Preview Lab → · Contrast checker → · Palette generator →

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