#6858EF#6858EF

#6858EF is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.218 H 281.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6858EF
RGBrgb(104, 88, 239)
HSLhsl(246, 83%, 64%)
HSVhsv(246, 63%, 94%)
CMYKcmyk(56.5%, 63.2%, 0%, 6.3%)
CIE-LABlab(47.17, 47.09, -74.11)
CIE-LCHlch(47.17, 87.81, 302.43°)
OKLaboklab(56.44% 0.0439 -0.2131)
OKLCHoklch(56.44% 0.218 281.6)
XYZxyz(24.7738, 16.1529, 83.4570)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858EF #DFEF58
analogous
#5894EF #6858EF #B458EF
triadic
#6858EF #EF6858 #58EF68
tetradic
#6858EF #EF5894 #DFEF58 #58EFB4
square
#6858EF #EF5894 #DFEF58 #58EFB4
split-complementary
#6858EF #EFB458 #94EF58
monochromatic
#2412BB #3620EA #6858EF #9B90F4 #CDC8FA

Accessibility & contrast

On white

4.96
#6858EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6858EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858EF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858EF#FFFFFF#000000##FFFFFF
##6858EF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#1D7E9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6858ef;
/* rgb */ color: rgb(104, 88, 239);
/* oklch */ color: oklch(56.4% 0.218 281.6);
Tailwind
colors: {
  custom: {
    50: '#9f88f5',
    500: '#6858ef',
    950: '#000000',
  },
}
SCSS
$custom: #6858ef;
$custom-light: #9f88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6858ef",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 246.358,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.21756,
    "h": 281.6
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#6858EF
secondary
#E6ECB7
accent
#DF07C8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6858EF

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

Preview Lab → · Contrast checker → · Palette generator →

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