#6862DF#6862DF

#6862DF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.185 H 280.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6862DF
RGBrgb(104, 98, 223)
HSLhsl(243, 66%, 63%)
HSVhsv(243, 56%, 87%)
CMYKcmyk(53.4%, 56.1%, 0%, 12.5%)
CIE-LABlab(48.27, 36.33, -63.32)
CIE-LCHlch(48.27, 73.00, 299.85°)
OKLaboklab(56.87% 0.035 -0.1813)
OKLCHoklch(56.87% 0.185 280.9)
XYZxyz(23.3918, 17.0047, 71.8474)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862DF #D9DF62
analogous
#629ADF #6862DF #A662DF
triadic
#6862DF #DF6862 #62DF68
tetradic
#6862DF #DF629A #D9DF62 #62DFA6
square
#6862DF #DF629A #D9DF62 #62DFA6
split-complementary
#6862DF #DFA662 #9ADF62
monochromatic
#2822A5 #372FD5 #6862DF #9995E9 #CAC8F4

Accessibility & contrast

On white

4.77
#6862DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6862DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862DF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862DF#FFFFFF#000000##FFFFFF
##6862DF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#337F97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6862df;
/* rgb */ color: rgb(104, 98, 223);
/* oklch */ color: oklch(56.9% 0.185 280.9);
Tailwind
colors: {
  custom: {
    50: '#9c8fea',
    500: '#6862df',
    950: '#000000',
  },
}
SCSS
$custom: #6862df;
$custom-light: #9c8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#6862df",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 242.88,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.18464,
    "h": 280.9
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#6862DF
secondary
#E3E5B8
accent
#CE17C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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