#6862BF#6862BF

#6862BF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.141 H 283.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6862BF
RGBrgb(104, 98, 191)
HSLhsl(244, 42%, 57%)
HSVhsv(244, 49%, 75%)
CMYKcmyk(45.5%, 48.7%, 0%, 25.1%)
CIE-LABlab(46.23, 26.55, -48.27)
CIE-LCHlch(46.23, 55.09, 298.82°)
OKLaboklab(54.7% 0.0332 -0.137)
OKLCHoklch(54.7% 0.141 283.6)
XYZxyz(19.4778, 15.4391, 51.2339)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862BF #B9BF62
analogous
#628BBF #6862BF #9762BF
triadic
#6862BF #BF6862 #62BF68
tetradic
#6862BF #BF628B #B9BF62 #62BF97
square
#6862BF #BF628B #B9BF62 #62BF97
split-complementary
#6862BF #BF9762 #8BBF62
monochromatic
#353076 #4842A2 #6862BF #928DD1 #BCB9E2

Accessibility & contrast

On white

5.14
#6862BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6862BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862BF#FFFFFF#000000##FFFFFF
##6862BF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C2
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#4B7687
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6862bf;
/* rgb */ color: rgb(104, 98, 191);
/* oklch */ color: oklch(54.7% 0.141 283.6);
Tailwind
colors: {
  custom: {
    50: '#988ed3',
    500: '#6862bf',
    950: '#000000',
  },
}
SCSS
$custom: #6862bf;
$custom-light: #988ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6862bf",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 243.871,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.14101,
    "h": 283.6
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#6862BF
secondary
#CFD1AB
accent
#D256CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6862BF

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

Preview Lab → · Contrast checker → · Palette generator →

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