#6687F5#6687F5

#6687F5 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.168 H 268.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6687F5
RGBrgb(102, 135, 245)
HSLhsl(226, 88%, 68%)
HSVhsv(226, 58%, 96%)
CMYKcmyk(58.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.74, 20.62, -58.78)
CIE-LCHlch(58.74, 62.30, 289.33°)
OKLaboklab(65.17% -0.0034 -0.1677)
OKLCHoklch(65.17% 0.168 268.8)
XYZxyz(30.6194, 26.7428, 89.9168)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6687F5 #F5D466
analogous
#66CEF5 #6687F5 #8C66F5
triadic
#6687F5 #F56687 #87F566
tetradic
#6687F5 #F566CE #F5D466 #66F58C
square
#6687F5 #F566CE #F5D466 #66F58C
split-complementary
#6687F5 #F58C66 #CEF566
monochromatic
#0E3BD3 #2D5AF1 #6687F5 #9FB4F9 #D9E1FD

Accessibility & contrast

On white

3.31
#6687F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#6687F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6687F5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6687F5#FFFFFF#000000##000000
##6687F51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#3F87F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6687f5;
/* rgb */ color: rgb(102, 135, 245);
/* oklch */ color: oklch(65.2% 0.168 268.8);
Tailwind
colors: {
  custom: {
    50: '#9ca9f9',
    500: '#6687f5',
    950: '#000000',
  },
}
SCSS
$custom: #6687f5;
$custom-light: #9ca9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6687f5",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 226.154,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65171,
    "c": 0.16769,
    "h": 268.8
  },
  "luminance": 0.26745
}

Semantic roles & 50–950 ramp

primary
#6687F5
secondary
#F1E7C6
accent
#B001E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6687F5

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

Preview Lab → · Contrast checker → · Palette generator →

#6687F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva