#6862EA#6862EA

#6862EA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.7% C 0.199 H 280.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6862EA
RGBrgb(104, 98, 234)
HSLhsl(243, 76%, 65%)
HSVhsv(243, 58%, 92%)
CMYKcmyk(55.6%, 58.1%, 0%, 8.2%)
CIE-LABlab(49.03, 39.74, -68.29)
CIE-LCHlch(49.03, 79.01, 300.19°)
OKLaboklab(57.68% 0.0349 -0.1959)
OKLCHoklch(57.68% 0.199 280.1)
XYZxyz(24.9232, 17.6173, 79.9131)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862EA #E4EA62
analogous
#62A0EA #6862EA #AC62EA
triadic
#6862EA #EA6862 #62EA68
tetradic
#6862EA #EA62A0 #E4EA62 #62EAAC
square
#6862EA #EA62A0 #E4EA62 #62EAAC
split-complementary
#6862EA #EAAC62 #A0EA62
monochromatic
#2019B9 #342CE3 #6862EA #9C98F1 #D0CEF8

Accessibility & contrast

On white

4.64
#6862EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6862EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6862EA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862EA#FFFFFF#000000##FFFFFF
##6862EA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#24829D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6862ea;
/* rgb */ color: rgb(104, 98, 234);
/* oklch */ color: oklch(57.7% 0.199 280.1);
Tailwind
colors: {
  custom: {
    50: '#9e8ff2',
    500: '#6862ea',
    950: '#000000',
  },
}
SCSS
$custom: #6862ea;
$custom-light: #9e8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6862ea",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 242.647,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.199,
    "h": 280.1
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#6862EA
secondary
#E9EBBD
accent
#D90DD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6862EA

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

Preview Lab → · Contrast checker → · Palette generator →

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