#6A87F6#6A87F6

#6A87F6 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.5% C 0.168 H 270.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6A87F6
RGBrgb(106, 135, 246)
HSLhsl(228, 89%, 69%)
HSVhsv(228, 57%, 96%)
CMYKcmyk(56.9%, 45.1%, 0%, 3.5%)
CIE-LABlab(59.01, 21.71, -58.88)
CIE-LCHlch(59.01, 62.75, 290.24°)
OKLaboklab(65.46% 0.0006 -0.1679)
OKLCHoklch(65.46% 0.168 270.2)
XYZxyz(31.2369, 27.0435, 90.7448)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F6 #F6D96A
analogous
#6ACDF6 #6A87F6 #936AF6
triadic
#6A87F6 #F66A87 #87F66A
tetradic
#6A87F6 #F66ACD #F6D96A #6AF693
square
#6A87F6 #F66ACD #F6D96A #6AF693
split-complementary
#6A87F6 #F6936A #CDF66A
monochromatic
#0D37D9 #3059F3 #6A87F6 #A4B5F9 #DDE4FD

Accessibility & contrast

On white

3.28
#6A87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#6A87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F6#FFFFFF#000000##000000
##6A87F61.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FA
Deuteranopia (green-blind)
#4088F4
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a87f6;
/* rgb */ color: rgb(106, 135, 246);
/* oklch */ color: oklch(65.5% 0.168 270.2);
Tailwind
colors: {
  custom: {
    50: '#9fa9fa',
    500: '#6a87f6',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f6;
$custom-light: #9fa9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f6",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 227.571,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65462,
    "c": 0.16786,
    "h": 270.2
  },
  "luminance": 0.27046
}

Semantic roles & 50–950 ramp

primary
#6A87F6
secondary
#F2EAC9
accent
#B600E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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