#6862EF#6862EF

#6862EF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.205 H 279.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#6862EF
RGBrgb(104, 98, 239)
HSLhsl(243, 82%, 66%)
HSVhsv(243, 59%, 94%)
CMYKcmyk(56.5%, 59%, 0%, 6.3%)
CIE-LABlab(49.39, 41.29, -70.51)
CIE-LCHlch(49.39, 81.71, 300.35°)
OKLaboklab(58.06% 0.0348 -0.2025)
OKLCHoklch(58.06% 0.205 279.8)
XYZxyz(25.6517, 17.9087, 83.7496)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862EF #E9EF62
analogous
#62A2EF #6862EF #AE62EF
triadic
#6862EF #EF6862 #62EF68
tetradic
#6862EF #EF62A2 #E9EF62 #62EFAE
square
#6862EF #EF62A2 #E9EF62 #62EFAE
split-complementary
#6862EF #EFAE62 #A2EF62
monochromatic
#1B14C3 #332AE9 #6862EF #9D9AF5 #D3D1FA

Accessibility & contrast

On white

4.58
#6862EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6862EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862EF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862EF#FFFFFF#000000##000000
##6862EF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#1A849F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6862ef;
/* rgb */ color: rgb(104, 98, 239);
/* oklch */ color: oklch(58.1% 0.205 279.8);
Tailwind
colors: {
  custom: {
    50: '#9e8ff5',
    500: '#6862ef',
    950: '#000000',
  },
}
SCSS
$custom: #6862ef;
$custom-light: #9e8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#6862ef",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 242.553,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.20543,
    "h": 279.8
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#6862EF
secondary
#ECEEBF
accent
#DE08D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6862EF

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

Preview Lab → · Contrast checker → · Palette generator →

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