#6A87F9#6A87F9

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

Color values

HEX#6A87F9
RGBrgb(106, 135, 249)
HSLhsl(228, 92%, 70%)
HSVhsv(228, 57%, 98%)
CMYKcmyk(57.4%, 45.8%, 0%, 2.4%)
CIE-LABlab(59.19, 22.67, -60.26)
CIE-LCHlch(59.19, 64.38, 290.62°)
OKLaboklab(65.65% 0.0011 -0.1719)
OKLCHoklch(65.65% 0.172 270.3)
XYZxyz(31.7010, 27.2292, 93.1894)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F9 #F9DC6A
analogous
#6ACFF9 #6A87F9 #956AF9
triadic
#6A87F9 #F96A87 #87F96A
tetradic
#6A87F9 #F96ACF #F9DC6A #6AF995
square
#6A87F9 #F96ACF #F9DC6A #6AF995
split-complementary
#6A87F9 #F9956A #CFF96A
monochromatic
#0935E0 #2F58F7 #6A87F9 #A5B6FB #E0E6FE

Accessibility & contrast

On white

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

On black

6.45
#6A87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F9#FFFFFF#000000##000000
##6A87F91.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a87f9;
/* rgb */ color: rgb(106, 135, 249);
/* oklch */ color: oklch(65.6% 0.172 270.3);
Tailwind
colors: {
  custom: {
    50: '#9fa9fc',
    500: '#6a87f9',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f9;
$custom-light: #9fa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f9",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 227.832,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.17191,
    "h": 270.3
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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