#686CEF#686CEF

#686CEF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.8% C 0.193 H 277.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#686CEF
RGBrgb(104, 108, 239)
HSLhsl(238, 81%, 67%)
HSVhsv(238, 56%, 94%)
CMYKcmyk(56.5%, 54.8%, 0%, 6.3%)
CIE-LABlab(51.72, 35.34, -66.73)
CIE-LCHlch(51.72, 75.51, 297.91°)
OKLaboklab(59.79% 0.0252 -0.1912)
OKLCHoklch(59.79% 0.193 277.5)
XYZxyz(26.6465, 19.8983, 84.0812)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686CEF #EFEB68
analogous
#68B0EF #686CEF #A768EF
triadic
#686CEF #EF686C #6CEF68
tetradic
#686CEF #EF68B0 #EFEB68 #68EFA7
square
#686CEF #EF68B0 #EFEB68 #68EFA7
split-complementary
#686CEF #EFA768 #B0EF68
monochromatic
#151AC7 #3136E9 #686CEF #9FA2F5 #D7D8FB

Accessibility & contrast

On white

4.22
#686CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#686CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #686CEF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686CEF#FFFFFF#000000##000000
##686CEF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0781F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#168AA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #686cef;
/* rgb */ color: rgb(104, 108, 239);
/* oklch */ color: oklch(59.8% 0.193 277.5);
Tailwind
colors: {
  custom: {
    50: '#9e96f5',
    500: '#686cef',
    950: '#000000',
  },
}
SCSS
$custom: #686cef;
$custom-light: #9e96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#686cef",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 238.222,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.19291,
    "h": 277.5
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#686CEF
secondary
#EFEDC4
accent
#D708DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #686CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#686CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva