#6862FE#6862FE

#6862FE is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.2% C 0.224 H 278.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6862FE
RGBrgb(104, 98, 254)
HSLhsl(242, 99%, 69%)
HSVhsv(242, 61%, 100%)
CMYKcmyk(59.1%, 61.4%, 0%, 0.4%)
CIE-LABlab(50.49, 45.94, -77.08)
CIE-LCHlch(50.49, 89.73, 300.80°)
OKLaboklab(59.21% 0.0341 -0.2218)
OKLCHoklch(59.21% 0.224 278.8)
XYZxyz(27.9603, 18.8321, 95.9083)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862FE #F8FE62
analogous
#62AAFE #6862FE #B662FE
triadic
#6862FE #FE6862 #62FE68
tetradic
#6862FE #FE62AA #F8FE62 #62FEB6
square
#6862FE #FE62AA #F8FE62 #62FEB6
split-complementary
#6862FE #FEB662 #AAFE62
monochromatic
#0A01E4 #2E25FE #6862FE #A29FFE #DDDCFF

Accessibility & contrast

On white

4.41
#6862FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6862FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862FE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862FE#FFFFFF#000000##000000
##6862FE1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0072FB
Tritanopia (blue-blind)
#0089A7
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6862fe;
/* rgb */ color: rgb(104, 98, 254);
/* oklch */ color: oklch(59.2% 0.224 278.8);
Tailwind
colors: {
  custom: {
    50: '#a18fff',
    500: '#6862fe',
    950: '#000000',
  },
}
SCSS
$custom: #6862fe;
$custom-light: #a18fff;
$custom-dark: #000000;
JSON
{
  "hex": "#6862fe",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 242.308,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.22437,
    "h": 278.8
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#6862FE
secondary
#F3F5C7
accent
#E600DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6862FE

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

Preview Lab → · Contrast checker → · Palette generator →

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