#6865EB#6865EB

#6865EB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.3% C 0.197 H 279.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6865EB
RGBrgb(104, 101, 235)
HSLhsl(241, 77%, 66%)
HSVhsv(241, 57%, 92%)
CMYKcmyk(55.7%, 57%, 0%, 7.8%)
CIE-LABlab(49.79, 38.27, -67.61)
CIE-LCHlch(49.79, 77.69, 299.51°)
OKLaboklab(58.27% 0.032 -0.1939)
OKLCHoklch(58.27% 0.197 279.4)
XYZxyz(25.3533, 18.2469, 80.7672)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6865EB #E8EB65
analogous
#65A5EB #6865EB #AB65EB
triadic
#6865EB #EB6865 #65EB68
tetradic
#6865EB #EB65A5 #E8EB65 #65EBAB
square
#6865EB #EB65A5 #E8EB65 #65EBAB
split-complementary
#6865EB #EBAB65 #A5EB65
monochromatic
#1C19BD #332FE4 #6865EB #9D9BF2 #D2D1F9

Accessibility & contrast

On white

4.52
#6865EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6865EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6865EB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6865EB#FFFFFF#000000##000000
##6865EB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#21859E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6865eb;
/* rgb */ color: rgb(104, 101, 235);
/* oklch */ color: oklch(58.3% 0.197 279.4);
Tailwind
colors: {
  custom: {
    50: '#9e91f2',
    500: '#6865eb',
    950: '#000000',
  },
}
SCSS
$custom: #6865eb;
$custom-light: #9e91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6865eb",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 241.343,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.19652,
    "h": 279.4
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#6865EB
secondary
#EBECC0
accent
#D90CD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6865EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6865EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva