#6852E8#6852E8

#6852E8 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.216 H 283.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6852E8
RGBrgb(104, 82, 232)
HSLhsl(249, 77%, 62%)
HSVhsv(249, 65%, 91%)
CMYKcmyk(55.2%, 64.7%, 0%, 9%)
CIE-LABlab(45.36, 48.38, -73.13)
CIE-LCHlch(45.36, 87.68, 303.49°)
OKLaboklab(54.95% 0.0499 -0.2102)
OKLCHoklch(54.95% 0.216 283.4)
XYZxyz(23.2872, 14.8024, 77.9583)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852E8 #D2E852
analogous
#5287E8 #6852E8 #B352E8
triadic
#6852E8 #E86852 #52E868
tetradic
#6852E8 #E85287 #D2E852 #52E8B3
square
#6852E8 #E85287 #D2E852 #52E8B3
split-complementary
#6852E8 #E8B352 #87E852
monochromatic
#2C16A9 #3A1EDF #6852E8 #9788EF #C6BEF6

Accessibility & contrast

On white

5.30
#6852E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6852E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852E8#FFFFFF#000000##FFFFFF
##6852E81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#2A7896
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6852e8;
/* rgb */ color: rgb(104, 82, 232);
/* oklch */ color: oklch(55.0% 0.216 283.4);
Tailwind
colors: {
  custom: {
    50: '#9e84f0',
    500: '#6852e8',
    950: '#000000',
  },
}
SCSS
$custom: #6852e8;
$custom-light: #9e84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6852e8",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 248.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.21604,
    "h": 283.4
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#6852E8
secondary
#DFE7AF
accent
#D90DBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6852E8

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

Preview Lab → · Contrast checker → · Palette generator →

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