#6862F3#6862F3

#6862F3 is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.4% C 0.211 H 279.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6862F3
RGBrgb(104, 98, 243)
HSLhsl(242, 86%, 67%)
HSVhsv(242, 60%, 95%)
CMYKcmyk(57.2%, 59.7%, 0%, 4.7%)
CIE-LABlab(49.67, 42.53, -72.28)
CIE-LCHlch(49.67, 83.86, 300.47°)
OKLaboklab(58.36% 0.0347 -0.2077)
OKLCHoklch(58.36% 0.211 279.5)
XYZxyz(26.2492, 18.1477, 86.8963)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862F3 #EDF362
analogous
#62A5F3 #6862F3 #B162F3
triadic
#6862F3 #F36862 #62F368
tetradic
#6862F3 #F362A5 #EDF362 #62F3B1
square
#6862F3 #F362A5 #EDF362 #62F3B1
split-complementary
#6862F3 #F3B162 #A5F362
monochromatic
#1710CB #3129EF #6862F3 #9F9BF7 #D5D4FC

Accessibility & contrast

On white

4.54
#6862F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6862F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6862F3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862F3#FFFFFF#000000##000000
##6862F31.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#0D85A1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6862f3;
/* rgb */ color: rgb(104, 98, 243);
/* oklch */ color: oklch(58.4% 0.211 279.5);
Tailwind
colors: {
  custom: {
    50: '#9f8ff8',
    500: '#6862f3',
    950: '#000000',
  },
}
SCSS
$custom: #6862f3;
$custom-light: #9f8ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#6862f3",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 242.483,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.21054,
    "h": 279.5
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#6862F3
secondary
#EEF0C1
accent
#E203D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6862F3

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

Preview Lab → · Contrast checker → · Palette generator →

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