#6A87EE#6A87EE

#6A87EE is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.157 H 269.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6A87EE
RGBrgb(106, 135, 238)
HSLhsl(227, 80%, 67%)
HSVhsv(227, 55%, 93%)
CMYKcmyk(55.5%, 43.3%, 0%, 6.7%)
CIE-LABlab(58.57, 19.15, -55.17)
CIE-LCHlch(58.57, 58.40, 289.15°)
OKLaboklab(64.98% -0.0006 -0.157)
OKLCHoklch(64.98% 0.157 269.8)
XYZxyz(30.0353, 26.5629, 84.4168)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87EE #EED16A
analogous
#6AC9EE #6A87EE #8F6AEE
triadic
#6A87EE #EE6A87 #87EE6A
tetradic
#6A87EE #EE6AC9 #EED16A #6AEE8F
square
#6A87EE #EE6AC9 #EED16A #6AEE8F
split-complementary
#6A87EE #EE8F6A #C9EE6A
monochromatic
#173DC7 #335BE8 #6A87EE #A1B3F4 #D8DFFB

Accessibility & contrast

On white

3.33
#6A87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#6A87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87EE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87EE#FFFFFF#000000##000000
##6A87EE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F2
Deuteranopia (green-blind)
#4987EC
Tritanopia (blue-blind)
#199EAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6a87ee;
/* rgb */ color: rgb(106, 135, 238);
/* oklch */ color: oklch(65.0% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea9f4',
    500: '#6a87ee',
    950: '#000000',
  },
}
SCSS
$custom: #6a87ee;
$custom-light: #9ea9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87ee",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 226.818,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64975,
    "c": 0.15696,
    "h": 269.8
  },
  "luminance": 0.26565
}

Semantic roles & 50–950 ramp

primary
#6A87EE
secondary
#EFE5C5
accent
#AE0ADC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87EE

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

Preview Lab → · Contrast checker → · Palette generator →

#6A87EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva