#6A87EF#6A87EF

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

Color values

HEX#6A87EF
RGBrgb(106, 135, 239)
HSLhsl(227, 81%, 68%)
HSVhsv(227, 56%, 94%)
CMYKcmyk(55.6%, 43.5%, 0%, 6.3%)
CIE-LABlab(58.62, 19.47, -55.63)
CIE-LCHlch(58.62, 58.94, 289.29°)
OKLaboklab(65.04% -0.0004 -0.1583)
OKLCHoklch(65.04% 0.158 269.8)
XYZxyz(30.1827, 26.6218, 85.1926)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87EF #EFD26A
analogous
#6ACAEF #6A87EF #8F6AEF
triadic
#6A87EF #EF6A87 #87EF6A
tetradic
#6A87EF #EF6ACA #EFD26A #6AEF8F
square
#6A87EF #EF6ACA #EFD26A #6AEF8F
split-complementary
#6A87EF #EF8F6A #CAEF6A
monochromatic
#163DC9 #335AE9 #6A87EF #A1B4F5 #D9E0FB

Accessibility & contrast

On white

3.32
#6A87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#6A87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87EF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87EF#FFFFFF#000000##000000
##6A87EF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4887ED
Tritanopia (blue-blind)
#169EAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6a87ef;
/* rgb */ color: rgb(106, 135, 239);
/* oklch */ color: oklch(65.0% 0.158 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea9f5',
    500: '#6a87ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a87ef;
$custom-light: #9ea9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87ef",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 226.917,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65035,
    "c": 0.15833,
    "h": 269.8
  },
  "luminance": 0.26624
}

Semantic roles & 50–950 ramp

primary
#6A87EF
secondary
#EFE6C6
accent
#AF09DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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