#6687EF#6687EF

#6687EF is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.160 H 268.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6687EF
RGBrgb(102, 135, 239)
HSLhsl(226, 81%, 67%)
HSVhsv(226, 57%, 94%)
CMYKcmyk(57.3%, 43.5%, 0%, 6.3%)
CIE-LABlab(58.40, 18.68, -56.01)
CIE-LCHlch(58.40, 59.04, 288.45°)
OKLaboklab(64.8% -0.0043 -0.1595)
OKLCHoklch(64.8% 0.16 268.5)
XYZxyz(29.7182, 26.3824, 85.1709)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6687EF #EFCE66
analogous
#66CCEF #6687EF #8966EF
triadic
#6687EF #EF6687 #87EF66
tetradic
#6687EF #EF66CC #EFCE66 #66EF89
square
#6687EF #EF66CC #EFCE66 #66EF89
split-complementary
#6687EF #EF8966 #CCEF66
monochromatic
#153FC6 #2F5CE9 #6687EF #9DB2F5 #D5DEFB

Accessibility & contrast

On white

3.35
#6687EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#6687EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6687EF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6687EF#FFFFFF#000000##000000
##6687EF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#4687ED
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6687ef;
/* rgb */ color: rgb(102, 135, 239);
/* oklch */ color: oklch(64.8% 0.160 268.5);
Tailwind
colors: {
  custom: {
    50: '#9ca9f5',
    500: '#6687ef',
    950: '#000000',
  },
}
SCSS
$custom: #6687ef;
$custom-light: #9ca9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6687ef",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 225.547,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64804,
    "c": 0.15956,
    "h": 268.5
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#6687EF
secondary
#EEE4C2
accent
#AA08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6687EF

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

Preview Lab → · Contrast checker → · Palette generator →

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