#6854E8#6854E8

#6854E8 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.3% C 0.214 H 283.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6854E8
RGBrgb(104, 84, 232)
HSLhsl(248, 76%, 62%)
HSVhsv(248, 64%, 91%)
CMYKcmyk(55.2%, 63.8%, 0%, 9%)
CIE-LABlab(45.78, 47.25, -72.44)
CIE-LCHlch(45.78, 86.49, 303.12°)
OKLaboklab(55.26% 0.0481 -0.2082)
OKLCHoklch(55.26% 0.214 283)
XYZxyz(23.4403, 15.1085, 78.0093)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854E8 #D4E854
analogous
#548AE8 #6854E8 #B254E8
triadic
#6854E8 #E86854 #54E868
tetradic
#6854E8 #E8548A #D4E854 #54E8B2
square
#6854E8 #E8548A #D4E854 #54E8B2
split-complementary
#6854E8 #E8B254 #8AE854
monochromatic
#2B17AB #381EE1 #6854E8 #988AEF #C7C0F7

Accessibility & contrast

On white

5.22
#6854E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6854E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854E8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854E8#FFFFFF#000000##FFFFFF
##6854E81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#2A7996
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6854e8;
/* rgb */ color: rgb(104, 84, 232);
/* oklch */ color: oklch(55.3% 0.214 283.0);
Tailwind
colors: {
  custom: {
    50: '#9e85f0',
    500: '#6854e8',
    950: '#000000',
  },
}
SCSS
$custom: #6854e8;
$custom-light: #9e85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6854e8",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 248.108,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.21367,
    "h": 283
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#6854E8
secondary
#E0E7B1
accent
#D80DBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854E8

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

Preview Lab → · Contrast checker → · Palette generator →

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