#6A87EA#6A87EA

#6A87EA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.151 H 269.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6A87EA
RGBrgb(106, 135, 234)
HSLhsl(226, 75%, 67%)
HSVhsv(226, 55%, 92%)
CMYKcmyk(54.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(58.35, 17.88, -53.30)
CIE-LCHlch(58.35, 56.22, 288.55°)
OKLaboklab(64.74% -0.0013 -0.1515)
OKLCHoklch(64.74% 0.151 269.5)
XYZxyz(29.4542, 26.3305, 81.3561)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87EA #EACD6A
analogous
#6AC7EA #6A87EA #8D6AEA
triadic
#6A87EA #EA6A87 #87EA6A
tetradic
#6A87EA #EA6AC7 #EACD6A #6AEA8D
square
#6A87EA #EA6AC7 #EACD6A #6AEA8D
split-complementary
#6A87EA #EA8D6A #C7EA6A
monochromatic
#1B40BF #345CE2 #6A87EA #A0B2F2 #D5DDF9

Accessibility & contrast

On white

3.35
#6A87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#6A87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87EA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87EA#FFFFFF#000000##000000
##6A87EA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#219DAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6a87ea;
/* rgb */ color: rgb(106, 135, 234);
/* oklch */ color: oklch(64.7% 0.151 269.5);
Tailwind
colors: {
  custom: {
    50: '#9da9f1',
    500: '#6a87ea',
    950: '#000000',
  },
}
SCSS
$custom: #6a87ea;
$custom-light: #9da9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87ea",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 226.406,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64737,
    "c": 0.15148,
    "h": 269.5
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#6A87EA
secondary
#EDE3C3
accent
#AA0ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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