#6862E4#6862E4

#6862E4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.191 H 280.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6862E4
RGBrgb(104, 98, 228)
HSLhsl(243, 71%, 64%)
HSVhsv(243, 57%, 89%)
CMYKcmyk(54.4%, 57%, 0%, 10.6%)
CIE-LABlab(48.61, 37.88, -65.59)
CIE-LCHlch(48.61, 75.74, 300.01°)
OKLaboklab(57.24% 0.035 -0.188)
OKLCHoklch(57.24% 0.191 280.6)
XYZxyz(24.0758, 17.2783, 75.4501)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862E4 #DEE462
analogous
#629DE4 #6862E4 #A962E4
triadic
#6862E4 #E46862 #62E468
tetradic
#6862E4 #E4629D #DEE462 #62E4A9
square
#6862E4 #E4629D #DEE462 #62E4A9
split-complementary
#6862E4 #E4A962 #9DE462
monochromatic
#251EAE #362EDB #6862E4 #9A96ED #CCCAF6

Accessibility & contrast

On white

4.71
#6862E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6862E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862E4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862E4#FFFFFF#000000##FFFFFF
##6862E41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#2D809A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6862e4;
/* rgb */ color: rgb(104, 98, 228);
/* oklch */ color: oklch(57.2% 0.191 280.6);
Tailwind
colors: {
  custom: {
    50: '#9d8fed',
    500: '#6862e4',
    950: '#000000',
  },
}
SCSS
$custom: #6862e4;
$custom-light: #9d8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#6862e4",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 242.769,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.1912,
    "h": 280.6
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#6862E4
secondary
#E6E8BA
accent
#D313CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6862E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6862E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva