#6A87CA#6A87CA

#6A87CA is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.0% C 0.107 H 265.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6A87CA
RGBrgb(106, 135, 202)
HSLhsl(222, 48%, 60%)
HSVhsv(222, 48%, 79%)
CMYKcmyk(47.5%, 33.2%, 0%, 20.8%)
CIE-LABlab(56.74, 7.96, -37.91)
CIE-LCHlch(56.74, 38.74, 281.86°)
OKLaboklab(62.97% -0.0082 -0.1066)
OKLCHoklch(62.97% 0.107 265.6)
XYZxyz(25.2650, 24.6548, 59.2932)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87CA #CAAD6A
analogous
#6AB7CA #6A87CA #7D6ACA
triadic
#6A87CA #CA6A87 #87CA6A
tetradic
#6A87CA #CA6AB7 #CAAD6A #6ACA7D
square
#6A87CA #CA6AB7 #CAAD6A #6ACA7D
split-complementary
#6A87CA #CA7D6A #B7CA6A
monochromatic
#314B89 #4164B6 #6A87CA #97ABDA #C4D0EA

Accessibility & contrast

On white

3.54
#6A87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6A87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87CA#FFFFFF#000000##000000
##6A87CA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#43959F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a87ca;
/* rgb */ color: rgb(106, 135, 202);
/* oklch */ color: oklch(63.0% 0.107 265.6);
Tailwind
colors: {
  custom: {
    50: '#99a9da',
    500: '#6a87ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a87ca;
$custom-light: #99a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87ca",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 221.875,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62968,
    "c": 0.10688,
    "h": 265.6
  },
  "luminance": 0.24656
}

Semantic roles & 50–950 ramp

primary
#6A87CA
secondary
#DACFB6
accent
#8F2BBB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6A87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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