#6A87FA#6A87FA

#6A87FA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.7% C 0.173 H 270.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6A87FA
RGBrgb(106, 135, 250)
HSLhsl(228, 94%, 70%)
HSVhsv(228, 58%, 98%)
CMYKcmyk(57.6%, 46%, 0%, 2%)
CIE-LABlab(59.24, 22.99, -60.72)
CIE-LCHlch(59.24, 64.92, 290.74°)
OKLaboklab(65.71% 0.0012 -0.1733)
OKLCHoklch(65.71% 0.173 270.4)
XYZxyz(31.8574, 27.2917, 94.0130)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87FA #FADD6A
analogous
#6ACFFA #6A87FA #956AFA
triadic
#6A87FA #FA6A87 #87FA6A
tetradic
#6A87FA #FA6ACF #FADD6A #6AFA95
square
#6A87FA #FA6ACF #FADD6A #6AFA95
split-complementary
#6A87FA #FA956A #CFFA6A
monochromatic
#0834E2 #2F57F8 #6A87FA #A5B7FC #E0E6FE

Accessibility & contrast

On white

3.25
#6A87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#6A87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87FA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87FA#FFFFFF#000000##000000
##6A87FA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#3B89F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6a87fa;
/* rgb */ color: rgb(106, 135, 250);
/* oklch */ color: oklch(65.7% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#9fa9fc',
    500: '#6a87fa',
    950: '#000000',
  },
}
SCSS
$custom: #6a87fa;
$custom-light: #9fa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87fa",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 227.917,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.17326,
    "h": 270.4
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#6A87FA
secondary
#F4ECCC
accent
#B700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6A87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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