#6A87CD#6A87CD

#6A87CD is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.1% C 0.111 H 266.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6A87CD
RGBrgb(106, 135, 205)
HSLhsl(222, 50%, 61%)
HSVhsv(222, 48%, 80%)
CMYKcmyk(48.3%, 34.1%, 0%, 19.6%)
CIE-LABlab(56.88, 8.87, -39.39)
CIE-LCHlch(56.88, 40.37, 282.69°)
OKLaboklab(63.12% -0.0074 -0.1108)
OKLCHoklch(63.12% 0.111 266.2)
XYZxyz(25.6237, 24.7983, 61.1821)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87CD #CDB06A
analogous
#6AB8CD #6A87CD #7E6ACD
triadic
#6A87CD #CD6A87 #87CD6A
tetradic
#6A87CD #CD6AB8 #CDB06A #6ACD7E
square
#6A87CD #CD6AB8 #CDB06A #6ACD7E
split-complementary
#6A87CD #CD7E6A #B8CD6A
monochromatic
#2F4B8D #3F63BB #6A87CD #98ACDC #C6D1EC

Accessibility & contrast

On white

3.52
#6A87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#6A87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87CD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87CD#FFFFFF#000000##000000
##6A87CD1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#6284CB
Tritanopia (blue-blind)
#4196A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a87cd;
/* rgb */ color: rgb(106, 135, 205);
/* oklch */ color: oklch(63.1% 0.111 266.2);
Tailwind
colors: {
  custom: {
    50: '#9aa9dc',
    500: '#6a87cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a87cd;
$custom-light: #9aa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87cd",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 222.424,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.1111,
    "h": 266.2
  },
  "luminance": 0.248
}

Semantic roles & 50–950 ramp

primary
#6A87CD
secondary
#DCD1B7
accent
#9228BD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6A87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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