#6862EE#6862EE

#6862EE is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.0% C 0.204 H 279.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6862EE
RGBrgb(104, 98, 238)
HSLhsl(243, 80%, 66%)
HSVhsv(243, 59%, 93%)
CMYKcmyk(56.3%, 58.8%, 0%, 6.7%)
CIE-LABlab(49.31, 40.98, -70.07)
CIE-LCHlch(49.31, 81.17, 300.32°)
OKLaboklab(57.98% 0.0349 -0.2012)
OKLCHoklch(57.98% 0.204 279.8)
XYZxyz(25.5044, 17.8498, 82.9737)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862EE #E8EE62
analogous
#62A2EE #6862EE #AE62EE
triadic
#6862EE #EE6862 #62EE68
tetradic
#6862EE #EE62A2 #E8EE62 #62EEAE
square
#6862EE #EE62A2 #E8EE62 #62EEAE
split-complementary
#6862EE #EEAE62 #A2EE62
monochromatic
#1C15C1 #332BE8 #6862EE #9D99F4 #D2D0FA

Accessibility & contrast

On white

4.59
#6862EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6862EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6862EE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862EE#FFFFFF#000000##FFFFFF
##6862EE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#1C849F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6862ee;
/* rgb */ color: rgb(104, 98, 238);
/* oklch */ color: oklch(58.0% 0.204 279.8);
Tailwind
colors: {
  custom: {
    50: '#9e8ff4',
    500: '#6862ee',
    950: '#000000',
  },
}
SCSS
$custom: #6862ee;
$custom-light: #9e8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#6862ee",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 242.571,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.20416,
    "h": 279.8
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#6862EE
secondary
#EBEDBF
accent
#DD09D4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6862EE

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

Preview Lab → · Contrast checker → · Palette generator →

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