#685CEB#685CEB

#685CEB is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.208 H 281.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#685CEB
RGBrgb(104, 92, 235)
HSLhsl(245, 78%, 64%)
HSVhsv(245, 61%, 92%)
CMYKcmyk(55.7%, 60.9%, 0%, 7.8%)
CIE-LABlab(47.74, 43.57, -70.94)
CIE-LCHlch(47.74, 83.25, 301.56°)
OKLaboklab(56.76% 0.0406 -0.2037)
OKLCHoklch(56.76% 0.208 281.3)
XYZxyz(24.5268, 16.5939, 80.4917)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685CEB #DFEB5C
analogous
#5C98EB #685CEB #B05CEB
triadic
#685CEB #EB685C #5CEB68
tetradic
#685CEB #EB5C98 #DFEB5C #5CEBB0
square
#685CEB #EB5C98 #DFEB5C #5CEBB0
split-complementary
#685CEB #EBB05C #98EB5C
monochromatic
#2416B6 #3625E4 #685CEB #9A93F2 #CDC9F8

Accessibility & contrast

On white

4.86
#685CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#685CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685CEB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685CEB#FFFFFF#000000##FFFFFF
##685CEB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#237F9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #685ceb;
/* rgb */ color: rgb(104, 92, 235);
/* oklch */ color: oklch(56.8% 0.208 281.3);
Tailwind
colors: {
  custom: {
    50: '#9e8bf2',
    500: '#685ceb',
    950: '#000000',
  },
}
SCSS
$custom: #685ceb;
$custom-light: #9e8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#685ceb",
  "rgb": {
    "r": 104,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 245.035,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.20773,
    "h": 281.3
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#685CEB
secondary
#E6EAB8
accent
#DA0BC9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #685CEB

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

Preview Lab → · Contrast checker → · Palette generator →

#685CEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva