#6857EB#6857EB

#6857EB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.214 H 282.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6857EB
RGBrgb(104, 87, 235)
HSLhsl(247, 79%, 63%)
HSVhsv(247, 63%, 92%)
CMYKcmyk(55.7%, 63%, 0%, 7.8%)
CIE-LABlab(46.65, 46.45, -72.71)
CIE-LCHlch(46.65, 86.28, 302.57°)
OKLaboklab(55.96% 0.0452 -0.209)
OKLCHoklch(55.96% 0.214 282.2)
XYZxyz(24.1079, 15.7561, 80.3520)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857EB #DAEB57
analogous
#5790EB #6857EB #B257EB
triadic
#6857EB #EB6857 #57EB68
tetradic
#6857EB #EB5790 #DAEB57 #57EBB2
square
#6857EB #EB5790 #DAEB57 #57EBB2
split-complementary
#6857EB #EBB257 #90EB57
monochromatic
#2715B2 #3720E4 #6857EB #998EF2 #CAC4F8

Accessibility & contrast

On white

5.06
#6857EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6857EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857EB#FFFFFF#000000##FFFFFF
##6857EB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#247C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6857eb;
/* rgb */ color: rgb(104, 87, 235);
/* oklch */ color: oklch(56.0% 0.214 282.2);
Tailwind
colors: {
  custom: {
    50: '#9f87f2',
    500: '#6857eb',
    950: '#000000',
  },
}
SCSS
$custom: #6857eb;
$custom-light: #9f87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6857eb",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 246.892,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.21379,
    "h": 282.2
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#6857EB
secondary
#E3E9B4
accent
#DB0AC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6857EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6857EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva