#6862DB#6862DB

#6862DB is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.6% C 0.179 H 281.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6862DB
RGBrgb(104, 98, 219)
HSLhsl(243, 63%, 62%)
HSVhsv(243, 55%, 86%)
CMYKcmyk(52.5%, 55.3%, 0%, 14.1%)
CIE-LABlab(48.00, 35.09, -61.48)
CIE-LCHlch(48.00, 70.79, 299.72°)
OKLaboklab(56.59% 0.0349 -0.1759)
OKLCHoklch(56.59% 0.179 281.2)
XYZxyz(22.8588, 16.7915, 69.0407)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862DB #D5DB62
analogous
#6299DB #6862DB #A462DB
triadic
#6862DB #DB6862 #62DB68
tetradic
#6862DB #DB6299 #D5DB62 #62DBA4
square
#6862DB #DB6299 #D5DB62 #62DBA4
split-complementary
#6862DB #DBA462 #99DB62
monochromatic
#2A249E #3830D0 #6862DB #9894E6 #C8C6F2

Accessibility & contrast

On white

4.82
#6862DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6862DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862DB#FFFFFF#000000##FFFFFF
##6862DB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E76DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#377E95
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6862db;
/* rgb */ color: rgb(104, 98, 219);
/* oklch */ color: oklch(56.6% 0.179 281.2);
Tailwind
colors: {
  custom: {
    50: '#9c8fe7',
    500: '#6862db',
    950: '#000000',
  },
}
SCSS
$custom: #6862db;
$custom-light: #9c8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6862db",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 242.975,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.17933,
    "h": 281.2
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#6862DB
secondary
#E0E3B6
accent
#CA1BC2
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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