#6A87FC#6A87FC

#6A87FC is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.176 H 270.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6A87FC
RGBrgb(106, 135, 252)
HSLhsl(228, 96%, 70%)
HSVhsv(228, 58%, 99%)
CMYKcmyk(57.9%, 46.4%, 0%, 1.2%)
CIE-LABlab(59.36, 23.64, -61.63)
CIE-LCHlch(59.36, 66.01, 290.98°)
OKLaboklab(65.84% 0.0014 -0.1759)
OKLCHoklch(65.84% 0.176 270.5)
XYZxyz(32.1727, 27.4179, 95.6734)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87FC #FCDF6A
analogous
#6AD0FC #6A87FC #966AFC
triadic
#6A87FC #FC6A87 #87FC6A
tetradic
#6A87FC #FC6AD0 #FCDF6A #6AFC96
square
#6A87FC #FC6AD0 #FCDF6A #6AFC96
split-complementary
#6A87FC #FC966A #D0FC6A
monochromatic
#0532E7 #2E57FB #6A87FC #A6B7FD #E1E7FE

Accessibility & contrast

On white

3.24
#6A87FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#6A87FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87FC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87FC#FFFFFF#000000##000000
##6A87FC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#3889FA
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6a87fc;
/* rgb */ color: rgb(106, 135, 252);
/* oklch */ color: oklch(65.8% 0.176 270.5);
Tailwind
colors: {
  custom: {
    50: '#a0a9fe',
    500: '#6a87fc',
    950: '#000000',
  },
}
SCSS
$custom: #6a87fc;
$custom-light: #a0a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87fc",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 228.082,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.17596,
    "h": 270.5
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#6A87FC
secondary
#F5EDCD
accent
#B800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6A87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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