#6A87BB#6A87BB

#6A87BB is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.2% C 0.086 H 261.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6A87BB
RGBrgb(106, 135, 187)
HSLhsl(219, 37%, 57%)
HSVhsv(219, 43%, 73%)
CMYKcmyk(43.3%, 27.8%, 0%, 26.7%)
CIE-LABlab(56.07, 3.52, -30.45)
CIE-LCHlch(56.07, 30.65, 276.60°)
OKLaboklab(62.22% -0.0124 -0.085)
OKLCHoklch(62.22% 0.086 261.7)
XYZxyz(23.5746, 23.9786, 50.3902)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87BB #BB9E6A
analogous
#6AAFBB #6A87BB #766ABB
triadic
#6A87BB #BB6A87 #87BB6A
tetradic
#6A87BB #BB6AAF #BB9E6A #6ABB76
square
#6A87BB #BB6AAF #BB9E6A #6ABB76
split-complementary
#6A87BB #BB766A #AFBB6A
monochromatic
#354C75 #49689F #6A87BB #94A9CE #BECBE1

Accessibility & contrast

On white

3.62
#6A87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#6A87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87BB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87BB#FFFFFF#000000##000000
##6A87BB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBD
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#4D9299
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6a87bb;
/* rgb */ color: rgb(106, 135, 187);
/* oklch */ color: oklch(62.2% 0.086 261.7);
Tailwind
colors: {
  custom: {
    50: '#98a9cf',
    500: '#6a87bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a87bb;
$custom-light: #98a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87bb",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 218.519,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.0859,
    "h": 261.7
  },
  "luminance": 0.2398
}

Semantic roles & 50–950 ramp

primary
#6A87BB
secondary
#D1C5B0
accent
#A45BCD
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6A87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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