#6A87DD#6A87DD

#6A87DD is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.133 H 268.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6A87DD
RGBrgb(106, 135, 221)
HSLhsl(225, 63%, 64%)
HSVhsv(225, 52%, 87%)
CMYKcmyk(52%, 38.9%, 0%, 13.3%)
CIE-LABlab(57.67, 13.79, -47.13)
CIE-LCHlch(57.67, 49.11, 286.31°)
OKLaboklab(63.99% -0.0037 -0.1334)
OKLCHoklch(63.99% 0.133 268.4)
XYZxyz(27.6547, 25.6107, 71.8787)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87DD #DDC06A
analogous
#6AC0DD #6A87DD #876ADD
triadic
#6A87DD #DD6A87 #87DD6A
tetradic
#6A87DD #DD6AC0 #DDC06A #6ADD87
square
#6A87DD #DD6AC0 #DDC06A #6ADD87
split-complementary
#6A87DD #DD876A #C0DD6A
monochromatic
#2646A7 #385FD2 #6A87DD #9CAFE8 #CED7F4

Accessibility & contrast

On white

3.43
#6A87DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6A87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87DD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87DD#FFFFFF#000000##000000
##6A87DD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#5886DB
Tritanopia (blue-blind)
#339AA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a87dd;
/* rgb */ color: rgb(106, 135, 221);
/* oklch */ color: oklch(64.0% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#9ba9e8',
    500: '#6a87dd',
    950: '#000000',
  },
}
SCSS
$custom: #6a87dd;
$custom-light: #9ba9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87dd",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 224.87,
    "s": 62.842,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.13349,
    "h": 268.4
  },
  "luminance": 0.25613
}

Semantic roles & 50–950 ramp

primary
#6A87DD
secondary
#E5DBBD
accent
#9E1BCB
background
#FAFAFE
surface
#F3F4FC
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6A87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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