#6874BB#6874BB

#6874BB is a mid, moderate blue. Relative luminance 0.190; OKLCH L 58.0% C 0.110 H 275.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6874BB
RGBrgb(104, 116, 187)
HSLhsl(231, 38%, 57%)
HSVhsv(231, 44%, 73%)
CMYKcmyk(44.4%, 38%, 0%, 26.7%)
CIE-LABlab(50.71, 14.34, -38.84)
CIE-LCHlch(50.71, 41.40, 290.27°)
OKLaboklab(58.04% 0.0099 -0.1094)
OKLCHoklch(58.04% 0.11 275.2)
XYZxyz(20.9212, 19.0206, 49.5730)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874BB #BBAF68
analogous
#689EBB #6874BB #8568BB
triadic
#6874BB #BB6874 #74BB68
tetradic
#6874BB #BB689E #BBAF68 #68BB85
square
#6874BB #BB689E #BBAF68 #68BB85
split-complementary
#6874BB #BB8568 #9EBB68
monochromatic
#343E74 #47549E #6874BB #929BCE #BCC2E1

Accessibility & contrast

On white

4.37
#6874BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6874BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874BB#FFFFFF#000000##000000
##6874BB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#4C828E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6874bb;
/* rgb */ color: rgb(104, 116, 187);
/* oklch */ color: oklch(58.0% 0.110 275.2);
Tailwind
colors: {
  custom: {
    50: '#979bd0',
    500: '#6874bb',
    950: '#000000',
  },
}
SCSS
$custom: #6874bb;
$custom-light: #979bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6874bb",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 231.325,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.10984,
    "h": 275.2
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#6874BB
secondary
#D0CBAF
accent
#BD5ACE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6874BB

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

Preview Lab → · Contrast checker → · Palette generator →

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