#6862FC#6862FC

#6862FC is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 59.1% C 0.222 H 278.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6862FC
RGBrgb(104, 98, 252)
HSLhsl(242, 96%, 69%)
HSVhsv(242, 61%, 99%)
CMYKcmyk(58.7%, 61.1%, 0%, 1.2%)
CIE-LABlab(50.34, 45.32, -76.21)
CIE-LCHlch(50.34, 88.67, 300.74°)
OKLaboklab(59.06% 0.0343 -0.2192)
OKLCHoklch(59.06% 0.222 278.9)
XYZxyz(27.6417, 18.7047, 94.2303)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862FC #F6FC62
analogous
#62A9FC #6862FC #B562FC
triadic
#6862FC #FC6862 #62FC68
tetradic
#6862FC #FC62A9 #F6FC62 #62FCB5
square
#6862FC #FC62A9 #F6FC62 #62FCB5
split-complementary
#6862FC #FCB562 #A9FC62
monochromatic
#0D04DF #2E26FB #6862FC #A29EFD #DCDAFE

Accessibility & contrast

On white

4.43
#6862FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6862FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862FC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862FC#FFFFFF#000000##000000
##6862FC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6862fc;
/* rgb */ color: rgb(104, 98, 252);
/* oklch */ color: oklch(59.1% 0.222 278.9);
Tailwind
colors: {
  custom: {
    50: '#a08ffe',
    500: '#6862fc',
    950: '#000000',
  },
}
SCSS
$custom: #6862fc;
$custom-light: #a08ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6862fc",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 242.338,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.22187,
    "h": 278.9
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6862FC

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

Preview Lab → · Contrast checker → · Palette generator →

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