#6862F9#6862F9

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

Color values

HEX#6862F9
RGBrgb(104, 98, 249)
HSLhsl(242, 93%, 68%)
HSVhsv(242, 61%, 98%)
CMYKcmyk(58.2%, 60.6%, 0%, 2.4%)
CIE-LABlab(50.12, 44.39, -74.91)
CIE-LCHlch(50.12, 87.07, 300.65°)
OKLaboklab(58.82% 0.0344 -0.2154)
OKLCHoklch(58.82% 0.218 279.1)
XYZxyz(27.1701, 18.5160, 91.7464)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862F9 #F3F962
analogous
#62A7F9 #6862F9 #B362F9
triadic
#6862F9 #F96862 #62F968
tetradic
#6862F9 #F962A7 #F3F962 #62F9B3
square
#6862F9 #F962A7 #F3F962 #62F9B3
split-complementary
#6862F9 #F9B362 #A7F962
monochromatic
#1108D8 #2F27F7 #6862F9 #A19DFB #D9D8FE

Accessibility & contrast

On white

4.46
#6862F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6862F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862F9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862F9#FFFFFF#000000##000000
##6862F91.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6862f9;
/* rgb */ color: rgb(104, 98, 249);
/* oklch */ color: oklch(58.8% 0.218 279.1);
Tailwind
colors: {
  custom: {
    50: '#a08ffc',
    500: '#6862f9',
    950: '#000000',
  },
}
SCSS
$custom: #6862f9;
$custom-light: #a08ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#6862f9",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 242.384,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.21811,
    "h": 279.1
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6862F9

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

Preview Lab → · Contrast checker → · Palette generator →

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