#6874A5#6874A5

#6874A5 is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.9% C 0.077 H 273.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6874A5
RGBrgb(104, 116, 165)
HSLhsl(228, 25%, 53%)
HSVhsv(228, 37%, 65%)
CMYKcmyk(37%, 29.7%, 0%, 35.3%)
CIE-LABlab(49.68, 7.94, -27.71)
CIE-LCHlch(49.68, 28.82, 286.00°)
OKLaboklab(56.9% 0.0043 -0.0772)
OKLCHoklch(56.9% 0.077 273.2)
XYZxyz(18.7439, 18.1497, 38.1056)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874A5 #A59968
analogous
#6892A5 #6874A5 #7B68A5
triadic
#6874A5 #A56874 #74A568
tetradic
#6874A5 #A56892 #A59968 #68A57B
square
#6874A5 #A56892 #A59968 #68A57B
split-complementary
#6874A5 #A57B68 #92A568
monochromatic
#373E5C #4E5882 #6874A5 #8E97BC #B5BBD3

Accessibility & contrast

On white

4.54
#6874A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6874A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874A5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874A5#FFFFFF#000000##000000
##6874A51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A7
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#567E85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6874a5;
/* rgb */ color: rgb(104, 116, 165);
/* oklch */ color: oklch(56.9% 0.077 273.2);
Tailwind
colors: {
  custom: {
    50: '#959bc0',
    500: '#6874a5',
    950: '#000000',
  },
}
SCSS
$custom: #6874a5;
$custom-light: #959bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6874a5",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 165
  },
  "hsl": {
    "h": 228.197,
    "s": 25.311,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.07728,
    "h": 273.2
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#6874A5
secondary
#C2BCA7
accent
#B066C2
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6874A5

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

Preview Lab → · Contrast checker → · Palette generator →

#6874A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva