#6858EA#6858EA

#6858EA is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.211 H 282.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6858EA
RGBrgb(104, 88, 234)
HSLhsl(247, 78%, 63%)
HSVhsv(247, 62%, 92%)
CMYKcmyk(55.6%, 62.4%, 0%, 8.2%)
CIE-LABlab(46.79, 45.57, -71.92)
CIE-LCHlch(46.79, 85.14, 302.36°)
OKLaboklab(56.04% 0.0443 -0.2066)
OKLCHoklch(56.04% 0.211 282.1)
XYZxyz(24.0453, 15.8615, 79.6205)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858EA #DAEA58
analogous
#5891EA #6858EA #B158EA
triadic
#6858EA #EA6858 #58EA68
tetradic
#6858EA #EA5891 #DAEA58 #58EAB1
square
#6858EA #EA5891 #DAEA58 #58EAB1
split-complementary
#6858EA #EAB158 #91EA58
monochromatic
#2716B1 #3722E3 #6858EA #998EF1 #CAC5F8

Accessibility & contrast

On white

5.03
#6858EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6858EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858EA#FFFFFF#000000##FFFFFF
##6858EA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#267C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6858ea;
/* rgb */ color: rgb(104, 88, 234);
/* oklch */ color: oklch(56.0% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#9e88f2',
    500: '#6858ea',
    950: '#000000',
  },
}
SCSS
$custom: #6858ea;
$custom-light: #9e88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6858ea",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 246.575,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.21135,
    "h": 282.1
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#6858EA
secondary
#E3E9B5
accent
#DA0CC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6858EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6858EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva