#687BE4#687BE4

#687BE4 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.159 H 273.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#687BE4
RGBrgb(104, 123, 228)
HSLhsl(231, 70%, 65%)
HSVhsv(231, 54%, 89%)
CMYKcmyk(54.4%, 46.1%, 0%, 10.6%)
CIE-LABlab(54.77, 22.79, -55.67)
CIE-LCHlch(54.77, 60.15, 292.26°)
OKLaboklab(61.86% 0.0088 -0.1586)
OKLCHoklch(61.86% 0.159 273.2)
XYZxyz(26.7909, 22.7085, 76.3552)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687BE4 #E4D168
analogous
#68B9E4 #687BE4 #9368E4
triadic
#687BE4 #E4687B #7BE468
tetradic
#687BE4 #E468B9 #E4D168 #68E493
square
#687BE4 #E468B9 #E4D168 #68E493
split-complementary
#687BE4 #E49368 #B9E468
monochromatic
#2036B2 #344EDB #687BE4 #9CA8ED #D0D6F7

Accessibility & contrast

On white

3.79
#687BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#687BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687BE4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687BE4#FFFFFF#000000##000000
##687BE41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#2792A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #687be4;
/* rgb */ color: rgb(104, 123, 228);
/* oklch */ color: oklch(61.9% 0.159 273.2);
Tailwind
colors: {
  custom: {
    50: '#9ca0ed',
    500: '#687be4',
    950: '#000000',
  },
}
SCSS
$custom: #687be4;
$custom-light: #9ca0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#687be4",
  "rgb": {
    "r": 104,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 230.806,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61864,
    "c": 0.15884,
    "h": 273.2
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#687BE4
secondary
#E9E2BF
accent
#B514D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #687BE4

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

Preview Lab → · Contrast checker → · Palette generator →

#687BE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva