#6A87F8#6A87F8

#6A87F8 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.6% C 0.171 H 270.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6A87F8
RGBrgb(106, 135, 248)
HSLhsl(228, 91%, 69%)
HSVhsv(228, 57%, 97%)
CMYKcmyk(57.3%, 45.6%, 0%, 2.7%)
CIE-LABlab(59.13, 22.35, -59.80)
CIE-LCHlch(59.13, 63.84, 290.49°)
OKLaboklab(65.59% 0.0009 -0.1706)
OKLCHoklch(65.59% 0.171 270.3)
XYZxyz(31.5455, 27.1670, 92.3701)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F8 #F8DB6A
analogous
#6ACEF8 #6A87F8 #946AF8
triadic
#6A87F8 #F86A87 #87F86A
tetradic
#6A87F8 #F86ACE #F8DB6A #6AF894
square
#6A87F8 #F86ACE #F8DB6A #6AF894
split-complementary
#6A87F8 #F8946A #CEF86A
monochromatic
#0A35DD #3058F5 #6A87F8 #A4B6FB #DFE5FD

Accessibility & contrast

On white

3.26
#6A87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#6A87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F8#FFFFFF#000000##000000
##6A87F81.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#3E88F6
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a87f8;
/* rgb */ color: rgb(106, 135, 248);
/* oklch */ color: oklch(65.6% 0.171 270.3);
Tailwind
colors: {
  custom: {
    50: '#9fa9fb',
    500: '#6a87f8',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f8;
$custom-light: #9fa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f8",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 227.746,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65586,
    "c": 0.17056,
    "h": 270.3
  },
  "luminance": 0.27169
}

Semantic roles & 50–950 ramp

primary
#6A87F8
secondary
#F3EBCA
accent
#B700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6A87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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