#6887B3#6887B3

#6887B3 is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.7% C 0.076 H 257.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6887B3
RGBrgb(104, 135, 179)
HSLhsl(215, 33%, 55%)
HSVhsv(215, 42%, 70%)
CMYKcmyk(41.9%, 24.6%, 0%, 29.8%)
CIE-LABlab(55.61, 0.68, -26.60)
CIE-LCHlch(55.61, 26.61, 271.46°)
OKLaboklab(61.72% -0.0169 -0.074)
OKLCHoklch(61.72% 0.076 257.2)
XYZxyz(22.5070, 23.5244, 45.9938)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887B3 #B39468
analogous
#68ACB3 #6887B3 #6E68B3
triadic
#6887B3 #B36887 #87B368
tetradic
#6887B3 #B368AC #B39468 #68B36E
square
#6887B3 #B368AC #B39468 #68B36E
split-complementary
#6887B3 #B36E68 #ACB368
monochromatic
#364C6B #4A6994 #6887B3 #91A7C7 #B9C8DC

Accessibility & contrast

On white

3.68
#6887B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#6887B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887B3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887B3#FFFFFF#000000##000000
##6887B31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B5
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#4D9196
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6887b3;
/* rgb */ color: rgb(104, 135, 179);
/* oklch */ color: oklch(61.7% 0.076 257.2);
Tailwind
colors: {
  custom: {
    50: '#96a9ca',
    500: '#6887b3',
    950: '#000000',
  },
}
SCSS
$custom: #6887b3;
$custom-light: #96a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6887b3",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 215.2,
    "s": 33.04,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.07589,
    "h": 257.2
  },
  "luminance": 0.23526
}

Semantic roles & 50–950 ramp

primary
#6887B3
secondary
#CBBEAC
accent
#9D5FC9
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0E0F13
muted
#7E7F82

Preview Lab

Preview with #6887B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6887B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva