#6852DF#6852DF

#6852DF is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.205 H 284.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6852DF
RGBrgb(104, 82, 223)
HSLhsl(249, 69%, 60%)
HSVhsv(249, 63%, 87%)
CMYKcmyk(53.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.67, 45.70, -69.16)
CIE-LCHlch(44.67, 82.89, 303.45°)
OKLaboklab(54.23% 0.0508 -0.1985)
OKLCHoklch(54.23% 0.205 284.4)
XYZxyz(22.0415, 14.3041, 71.3973)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852DF #C9DF52
analogous
#5282DF #6852DF #AF52DF
triadic
#6852DF #DF6852 #52DF68
tetradic
#6852DF #DF5282 #C9DF52 #52DFAF
square
#6852DF #DF5282 #C9DF52 #52DFAF
split-complementary
#6852DF #DFAF52 #82DF52
monochromatic
#301D9A #4026CE #6852DF #9586E9 #C2B9F2

Accessibility & contrast

On white

5.44
#6852DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6852DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852DF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852DF#FFFFFF#000000##FFFFFF
##6852DF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#357591
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6852df;
/* rgb */ color: rgb(104, 82, 223);
/* oklch */ color: oklch(54.2% 0.205 284.4);
Tailwind
colors: {
  custom: {
    50: '#9d84ea',
    500: '#6852df',
    950: '#000000',
  },
}
SCSS
$custom: #6852df;
$custom-light: #9d84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6852df",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 249.362,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.20494,
    "h": 284.4
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#6852DF
secondary
#D9E2AB
accent
#EC3CD0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852DF

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

Preview Lab → · Contrast checker → · Palette generator →

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