#6A87DA#6A87DA

#6A87DA is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.8% C 0.129 H 268.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6A87DA
RGBrgb(106, 135, 218)
HSLhsl(224, 60%, 64%)
HSVhsv(224, 51%, 85%)
CMYKcmyk(51.4%, 38.1%, 0%, 14.5%)
CIE-LABlab(57.51, 12.86, -45.70)
CIE-LCHlch(57.51, 47.47, 285.72°)
OKLaboklab(63.82% -0.0044 -0.1292)
OKLCHoklch(63.82% 0.129 268.1)
XYZxyz(27.2586, 25.4522, 69.7925)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87DA #DABD6A
analogous
#6ABFDA #6A87DA #856ADA
triadic
#6A87DA #DA6A87 #87DA6A
tetradic
#6A87DA #DA6ABF #DABD6A #6ADA85
square
#6A87DA #DA6ABF #DABD6A #6ADA85
split-complementary
#6A87DA #DA856A #BFDA6A
monochromatic
#2848A1 #3960CE #6A87DA #9BAEE6 #CCD6F2

Accessibility & contrast

On white

3.45
#6A87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#6A87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87DA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87DA#FFFFFF#000000##000000
##6A87DA1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#668FDD
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#3699A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a87da;
/* rgb */ color: rgb(106, 135, 218);
/* oklch */ color: oklch(63.8% 0.129 268.1);
Tailwind
colors: {
  custom: {
    50: '#9ba9e6',
    500: '#6a87da',
    950: '#000000',
  },
}
SCSS
$custom: #6a87da;
$custom-light: #9ba9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87da",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 224.464,
    "s": 60.215,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.1293,
    "h": 268.1
  },
  "luminance": 0.25454
}

Semantic roles & 50–950 ramp

primary
#6A87DA
secondary
#E4D9BC
accent
#9C1EC8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6A87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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