#6862FA#6862FA

#6862FA is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.9% C 0.219 H 279.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6862FA
RGBrgb(104, 98, 250)
HSLhsl(242, 94%, 68%)
HSVhsv(242, 61%, 98%)
CMYKcmyk(58.4%, 60.8%, 0%, 2%)
CIE-LABlab(50.19, 44.70, -75.35)
CIE-LCHlch(50.19, 87.61, 300.68°)
OKLaboklab(58.9% 0.0344 -0.2167)
OKLCHoklch(58.9% 0.219 279)
XYZxyz(27.3264, 18.5786, 92.5700)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862FA #F4FA62
analogous
#62A8FA #6862FA #B462FA
triadic
#6862FA #FA6862 #62FA68
tetradic
#6862FA #FA62A8 #F4FA62 #62FAB4
square
#6862FA #FA62A8 #F4FA62 #62FAB4
split-complementary
#6862FA #FAB462 #A8FA62
monochromatic
#0F07DB #2F27F8 #6862FA #A19DFC #DAD9FE

Accessibility & contrast

On white

4.45
#6862FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6862FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862FA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862FA#FFFFFF#000000##000000
##6862FA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0071F7
Tritanopia (blue-blind)
#0087A5
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6862fa;
/* rgb */ color: rgb(104, 98, 250);
/* oklch */ color: oklch(58.9% 0.219 279.0);
Tailwind
colors: {
  custom: {
    50: '#a08ffd',
    500: '#6862fa',
    950: '#000000',
  },
}
SCSS
$custom: #6862fa;
$custom-light: #a08ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#6862fa",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 242.368,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.589,
    "c": 0.21937,
    "h": 279
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6862FA

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

Preview Lab → · Contrast checker → · Palette generator →

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