#6854F4#6854F4

#6854F4 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.2% C 0.228 H 281.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6854F4
RGBrgb(104, 84, 244)
HSLhsl(248, 88%, 64%)
HSVhsv(248, 66%, 96%)
CMYKcmyk(57.4%, 65.6%, 0%, 4.3%)
CIE-LABlab(46.73, 50.84, -77.64)
CIE-LCHlch(46.73, 92.81, 303.22°)
OKLaboklab(56.24% 0.0468 -0.2234)
OKLCHoklch(56.24% 0.228 281.8)
XYZxyz(25.2033, 15.8137, 87.2947)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854F4 #E0F454
analogous
#5490F4 #6854F4 #B854F4
triadic
#6854F4 #F46854 #54F468
tetradic
#6854F4 #F45490 #E0F454 #54F4B8
square
#6854F4 #F45490 #E0F454 #54F4B8
split-complementary
#6854F4 #F4B854 #90F454
monochromatic
#230CC1 #351BF0 #6854F4 #9B8EF8 #CEC7FB

Accessibility & contrast

On white

5.04
#6854F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6854F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854F4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854F4#FFFFFF#000000##FFFFFF
##6854F41.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#107D9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6854f4;
/* rgb */ color: rgb(104, 84, 244);
/* oklch */ color: oklch(56.2% 0.228 281.8);
Tailwind
colors: {
  custom: {
    50: '#a086f9',
    500: '#6854f4',
    950: '#000000',
  },
}
SCSS
$custom: #6854f4;
$custom-light: #a086f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6854f4",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 244
  },
  "hsl": {
    "h": 247.5,
    "s": 87.912,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.2283,
    "h": 281.8
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#6854F4
secondary
#E7EEB6
accent
#E401C8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854F4

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

Preview Lab → · Contrast checker → · Palette generator →

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