#687ECB#687ECB

#687ECB is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.0% C 0.120 H 270.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#687ECB
RGBrgb(104, 126, 203)
HSLhsl(227, 49%, 60%)
HSVhsv(227, 49%, 80%)
CMYKcmyk(48.8%, 37.9%, 0%, 20.4%)
CIE-LABlab(54.21, 13.15, -42.46)
CIE-LCHlch(54.21, 44.45, 287.21°)
OKLaboklab(61% 0.001 -0.1199)
OKLCHoklch(61% 0.12 270.5)
XYZxyz(23.9458, 22.1751, 59.5068)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687ECB #CBB568
analogous
#68AFCB #687ECB #8468CB
triadic
#687ECB #CB687E #7ECB68
tetradic
#687ECB #CB68AF #CBB568 #68CB84
square
#687ECB #CB68AF #CBB568 #68CB84
split-complementary
#687ECB #CB8468 #AFCB68
monochromatic
#2F4389 #3F5AB7 #687ECB #96A5DB #C3CCEA

Accessibility & contrast

On white

3.86
#687ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#687ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687ECB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687ECB#FFFFFF#000000##000000
##687ECB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CE
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#408E9B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #687ecb;
/* rgb */ color: rgb(104, 126, 203);
/* oklch */ color: oklch(61.0% 0.120 270.5);
Tailwind
colors: {
  custom: {
    50: '#98a3db',
    500: '#687ecb',
    950: '#000000',
  },
}
SCSS
$custom: #687ecb;
$custom-light: #98a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#687ecb",
  "rgb": {
    "r": 104,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 226.667,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.11989,
    "h": 270.5
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#687ECB
secondary
#DAD2B4
accent
#9B29BC
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #687ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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