#6A87F2#6A87F2

#6A87F2 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.2% C 0.162 H 270.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6A87F2
RGBrgb(106, 135, 242)
HSLhsl(227, 84%, 68%)
HSVhsv(227, 56%, 95%)
CMYKcmyk(56.2%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.79, 20.43, -57.03)
CIE-LCHlch(58.79, 60.58, 289.71°)
OKLaboklab(65.22% 0 -0.1624)
OKLCHoklch(65.22% 0.162 270)
XYZxyz(30.6295, 26.8006, 87.5462)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F2 #F2D56A
analogous
#6ACBF2 #6A87F2 #916AF2
triadic
#6A87F2 #F26A87 #87F26A
tetradic
#6A87F2 #F26ACB #F2D56A #6AF291
square
#6A87F2 #F26ACB #F2D56A #6AF291
split-complementary
#6A87F2 #F2916A #CBF26A
monochromatic
#123ACF #325AED #6A87F2 #A2B4F7 #DBE2FC

Accessibility & contrast

On white

3.30
#6A87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#6A87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F2#FFFFFF#000000##000000
##6A87F21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4588F0
Tritanopia (blue-blind)
#0C9FB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6a87f2;
/* rgb */ color: rgb(106, 135, 242);
/* oklch */ color: oklch(65.2% 0.162 270.0);
Tailwind
colors: {
  custom: {
    50: '#9ea9f7',
    500: '#6a87f2',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f2;
$custom-light: #9ea9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f2",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 227.206,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.16242,
    "h": 270
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#6A87F2
secondary
#F1E8C7
accent
#B205E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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