#6852E0#6852E0

#6852E0 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.206 H 284.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6852E0
RGBrgb(104, 82, 224)
HSLhsl(249, 70%, 60%)
HSVhsv(249, 63%, 88%)
CMYKcmyk(53.6%, 63.4%, 0%, 12.2%)
CIE-LABlab(44.74, 45.99, -69.60)
CIE-LCHlch(44.74, 83.43, 303.46°)
OKLaboklab(54.31% 0.0507 -0.1998)
OKLCHoklch(54.31% 0.206 284.2)
XYZxyz(22.1767, 14.3582, 72.1094)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852E0 #CAE052
analogous
#5283E0 #6852E0 #AF52E0
triadic
#6852E0 #E06852 #52E068
tetradic
#6852E0 #E05283 #CAE052 #52E0AF
square
#6852E0 #E05283 #CAE052 #52E0AF
split-complementary
#6852E0 #E0AF52 #83E052
monochromatic
#301C9C #4025D0 #6852E0 #9586E9 #C3BAF3

Accessibility & contrast

On white

5.42
#6852E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6852E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852E0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852E0#FFFFFF#000000##FFFFFF
##6852E01.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#347592
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6852e0;
/* rgb */ color: rgb(104, 82, 224);
/* oklch */ color: oklch(54.3% 0.206 284.2);
Tailwind
colors: {
  custom: {
    50: '#9d84eb',
    500: '#6852e0',
    950: '#000000',
  },
}
SCSS
$custom: #6852e0;
$custom-light: #9d84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6852e0",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 249.296,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.20618,
    "h": 284.2
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#6852E0
secondary
#DAE2AC
accent
#EC3BD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852E0

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

Preview Lab → · Contrast checker → · Palette generator →

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