#6874BE#6874BE

#6874BE is a mid, moderate blue. Relative luminance 0.192; OKLCH L 58.2% C 0.114 H 275.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6874BE
RGBrgb(104, 116, 190)
HSLhsl(232, 40%, 58%)
HSVhsv(232, 45%, 75%)
CMYKcmyk(45.3%, 38.9%, 0%, 25.5%)
CIE-LABlab(50.86, 15.24, -40.33)
CIE-LCHlch(50.86, 43.11, 290.71°)
OKLaboklab(58.21% 0.0106 -0.1137)
OKLCHoklch(58.21% 0.114 275.3)
XYZxyz(21.2457, 19.1504, 51.2821)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874BE #BEB268
analogous
#689FBE #6874BE #8768BE
triadic
#6874BE #BE6874 #74BE68
tetradic
#6874BE #BE689F #BEB268 #68BE87
square
#6874BE #BE689F #BEB268 #68BE87
split-complementary
#6874BE #BE8768 #9FBE68
monochromatic
#343D78 #4653A3 #6874BE #939BD0 #BEC3E3

Accessibility & contrast

On white

4.35
#6874BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6874BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874BE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874BE#FFFFFF#000000##000000
##6874BE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#4A8390
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6874be;
/* rgb */ color: rgb(104, 116, 190);
/* oklch */ color: oklch(58.2% 0.114 275.3);
Tailwind
colors: {
  custom: {
    50: '#979bd2',
    500: '#6874be',
    950: '#000000',
  },
}
SCSS
$custom: #6874be;
$custom-light: #979bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6874be",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 231.628,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.11421,
    "h": 275.3
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#6874BE
secondary
#D2CDB0
accent
#BF58D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6874BE

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

Preview Lab → · Contrast checker → · Palette generator →

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