#6862FB#6862FB

#6862FB is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 59.0% C 0.221 H 278.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6862FB
RGBrgb(104, 98, 251)
HSLhsl(242, 95%, 68%)
HSVhsv(242, 61%, 98%)
CMYKcmyk(58.6%, 61%, 0%, 1.6%)
CIE-LABlab(50.27, 45.01, -75.78)
CIE-LCHlch(50.27, 88.14, 300.71°)
OKLaboklab(58.98% 0.0343 -0.2179)
OKLCHoklch(58.98% 0.221 278.9)
XYZxyz(27.4836, 18.6415, 93.3980)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862FB #F5FB62
analogous
#62A8FB #6862FB #B462FB
triadic
#6862FB #FB6862 #62FB68
tetradic
#6862FB #FB62A8 #F5FB62 #62FBB4
square
#6862FB #FB62A8 #F5FB62 #62FBB4
split-complementary
#6862FB #FBB462 #A8FB62
monochromatic
#0E06DD #2F26F9 #6862FB #A19EFD #DBD9FE

Accessibility & contrast

On white

4.44
#6862FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6862FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862FB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862FB#FFFFFF#000000##000000
##6862FB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0071F8
Tritanopia (blue-blind)
#0088A5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6862fb;
/* rgb */ color: rgb(104, 98, 251);
/* oklch */ color: oklch(59.0% 0.221 278.9);
Tailwind
colors: {
  custom: {
    50: '#a08ffe',
    500: '#6862fb',
    950: '#000000',
  },
}
SCSS
$custom: #6862fb;
$custom-light: #a08ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6862fb",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 242.353,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.22062,
    "h": 278.9
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6862FB

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

Preview Lab → · Contrast checker → · Palette generator →

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