#6862F0#6862F0

#6862F0 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.1% C 0.207 H 279.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6862F0
RGBrgb(104, 98, 240)
HSLhsl(243, 83%, 66%)
HSVhsv(243, 59%, 94%)
CMYKcmyk(56.7%, 59.2%, 0%, 5.9%)
CIE-LABlab(49.46, 41.60, -70.96)
CIE-LCHlch(49.46, 82.25, 300.38°)
OKLaboklab(58.13% 0.0348 -0.2038)
OKLCHoklch(58.13% 0.207 279.7)
XYZxyz(25.7998, 17.9679, 84.5298)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862F0 #EAF062
analogous
#62A3F0 #6862F0 #AF62F0
triadic
#6862F0 #F06862 #62F068
tetradic
#6862F0 #F062A3 #EAF062 #62F0AF
square
#6862F0 #F062A3 #EAF062 #62F0AF
split-complementary
#6862F0 #F0AF62 #A3F062
monochromatic
#1A13C5 #322AEB #6862F0 #9E9AF5 #D3D2FB

Accessibility & contrast

On white

4.57
#6862F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6862F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862F0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862F0#FFFFFF#000000##000000
##6862F01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#1784A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6862f0;
/* rgb */ color: rgb(104, 98, 240);
/* oklch */ color: oklch(58.1% 0.207 279.7);
Tailwind
colors: {
  custom: {
    50: '#9f8ff6',
    500: '#6862f0',
    950: '#000000',
  },
}
SCSS
$custom: #6862f0;
$custom-light: #9f8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#6862f0",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 242.535,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.20671,
    "h": 279.7
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#6862F0
secondary
#ECEEC0
accent
#DF07D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6862F0

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

Preview Lab → · Contrast checker → · Palette generator →

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