#6862F8#6862F8

#6862F8 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.7% C 0.217 H 279.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6862F8
RGBrgb(104, 98, 248)
HSLhsl(242, 91%, 68%)
HSVhsv(242, 60%, 97%)
CMYKcmyk(58.1%, 60.5%, 0%, 2.7%)
CIE-LABlab(50.04, 44.08, -74.47)
CIE-LCHlch(50.04, 86.54, 300.62°)
OKLaboklab(58.74% 0.0345 -0.2141)
OKLCHoklch(58.74% 0.217 279.1)
XYZxyz(27.0145, 18.4538, 90.9271)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862F8 #F2F862
analogous
#62A7F8 #6862F8 #B362F8
triadic
#6862F8 #F86862 #62F868
tetradic
#6862F8 #F862A7 #F2F862 #62F8B3
square
#6862F8 #F862A7 #F2F862 #62F8B3
split-complementary
#6862F8 #F8B362 #A7F862
monochromatic
#120AD6 #3027F5 #6862F8 #A09DFB #D9D7FD

Accessibility & contrast

On white

4.48
#6862F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6862F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862F8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862F8#FFFFFF#000000##000000
##6862F81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0071F5
Tritanopia (blue-blind)
#0087A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6862f8;
/* rgb */ color: rgb(104, 98, 248);
/* oklch */ color: oklch(58.7% 0.217 279.1);
Tailwind
colors: {
  custom: {
    50: '#a08ffc',
    500: '#6862f8',
    950: '#000000',
  },
}
SCSS
$custom: #6862f8;
$custom-light: #a08ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#6862f8",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 242.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.21686,
    "h": 279.1
  },
  "luminance": 0.18456
}

Semantic roles & 50–950 ramp

primary
#6862F8
secondary
#F0F2C4
accent
#E600DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6862F8

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

Preview Lab → · Contrast checker → · Palette generator →

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