#6862F5#6862F5

#6862F5 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.5% C 0.213 H 279.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6862F5
RGBrgb(104, 98, 245)
HSLhsl(242, 88%, 67%)
HSVhsv(242, 60%, 96%)
CMYKcmyk(57.6%, 60%, 0%, 3.9%)
CIE-LABlab(49.82, 43.15, -73.16)
CIE-LCHlch(49.82, 84.94, 300.53°)
OKLaboklab(58.51% 0.0346 -0.2102)
OKLCHoklch(58.51% 0.213 279.3)
XYZxyz(26.5528, 18.2691, 88.4956)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862F5 #EFF562
analogous
#62A6F5 #6862F5 #B262F5
triadic
#6862F5 #F56862 #62F568
tetradic
#6862F5 #F562A6 #EFF562 #62F5B2
square
#6862F5 #F562A6 #EFF562 #62F5B2
split-complementary
#6862F5 #F5B262 #A6F562
monochromatic
#150DCF #3128F1 #6862F5 #9F9CF9 #D7D5FC

Accessibility & contrast

On white

4.51
#6862F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6862F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862F5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862F5#FFFFFF#000000##000000
##6862F51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0071F2
Tritanopia (blue-blind)
#0486A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6862f5;
/* rgb */ color: rgb(104, 98, 245);
/* oklch */ color: oklch(58.5% 0.213 279.3);
Tailwind
colors: {
  custom: {
    50: '#9f8ff9',
    500: '#6862f5',
    950: '#000000',
  },
}
SCSS
$custom: #6862f5;
$custom-light: #9f8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#6862f5",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 242.449,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.21307,
    "h": 279.3
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#6862F5
secondary
#EFF1C2
accent
#E501DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6862F5

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

Preview Lab → · Contrast checker → · Palette generator →

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