#6A87CE#6A87CE

#6A87CE is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.2% C 0.113 H 266.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6A87CE
RGBrgb(106, 135, 206)
HSLhsl(223, 51%, 61%)
HSVhsv(223, 49%, 81%)
CMYKcmyk(48.5%, 34.5%, 0%, 19.2%)
CIE-LABlab(56.93, 9.17, -39.88)
CIE-LCHlch(56.93, 40.92, 282.96°)
OKLaboklab(63.18% -0.0071 -0.1123)
OKLCHoklch(63.18% 0.113 266.4)
XYZxyz(25.7448, 24.8467, 61.8198)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87CE #CEB16A
analogous
#6AB9CE #6A87CE #7F6ACE
triadic
#6A87CE #CE6A87 #87CE6A
tetradic
#6A87CE #CE6AB9 #CEB16A #6ACE7F
square
#6A87CE #CE6AB9 #CEB16A #6ACE7F
split-complementary
#6A87CE #CE7F6A #B9CE6A
monochromatic
#2F4B8F #3E63BD #6A87CE #98ACDD #C6D1EC

Accessibility & contrast

On white

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

On black

5.97
#6A87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87CE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87CE#FFFFFF#000000##000000
##6A87CE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD1
Deuteranopia (green-blind)
#6184CC
Tritanopia (blue-blind)
#4096A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6a87ce;
/* rgb */ color: rgb(106, 135, 206);
/* oklch */ color: oklch(63.2% 0.113 266.4);
Tailwind
colors: {
  custom: {
    50: '#9aa9dd',
    500: '#6a87ce',
    950: '#000000',
  },
}
SCSS
$custom: #6a87ce;
$custom-light: #9aa9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87ce",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 222.6,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63175,
    "c": 0.1125,
    "h": 266.4
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#6A87CE
secondary
#DDD2B7
accent
#9228BE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6A87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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