#6862FD#6862FD

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

Color values

HEX#6862FD
RGBrgb(104, 98, 253)
HSLhsl(242, 97%, 69%)
HSVhsv(242, 61%, 99%)
CMYKcmyk(58.9%, 61.3%, 0%, 0.8%)
CIE-LABlab(50.41, 45.63, -76.65)
CIE-LCHlch(50.41, 89.20, 300.77°)
OKLaboklab(59.13% 0.0342 -0.2205)
OKLCHoklch(59.13% 0.223 278.8)
XYZxyz(27.8006, 18.7682, 95.0671)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862FD #F7FD62
analogous
#62AAFD #6862FD #B662FD
triadic
#6862FD #FD6862 #62FD68
tetradic
#6862FD #FD62AA #F7FD62 #62FDB6
square
#6862FD #FD62AA #F7FD62 #62FDB6
split-complementary
#6862FD #FDB662 #AAFD62
monochromatic
#0C03E2 #2E26FC #6862FD #A29EFE #DCDBFF

Accessibility & contrast

On white

4.42
#6862FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6862FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862FD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862FD#FFFFFF#000000##000000
##6862FD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#0088A6
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6862fd;
/* rgb */ color: rgb(104, 98, 253);
/* oklch */ color: oklch(59.1% 0.223 278.8);
Tailwind
colors: {
  custom: {
    50: '#a18fff',
    500: '#6862fd',
    950: '#000000',
  },
}
SCSS
$custom: #6862fd;
$custom-light: #a18fff;
$custom-dark: #000000;
JSON
{
  "hex": "#6862fd",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 242.323,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.22313,
    "h": 278.8
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6862FD

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

Preview Lab → · Contrast checker → · Palette generator →

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