#6874CD#6874CD

#6874CD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.136 H 275.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6874CD
RGBrgb(104, 116, 205)
HSLhsl(233, 50%, 61%)
HSVhsv(233, 49%, 80%)
CMYKcmyk(49.3%, 43.4%, 0%, 19.6%)
CIE-LABlab(51.66, 19.82, -47.65)
CIE-LCHlch(51.66, 51.61, 292.59°)
OKLaboklab(59.07% 0.0134 -0.1351)
OKLCHoklch(59.07% 0.136 275.6)
XYZxyz(22.9703, 19.8403, 60.3649)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874CD #CDC168
analogous
#68A7CD #6874CD #8E68CD
triadic
#6874CD #CD6874 #74CD68
tetradic
#6874CD #CD68A7 #CDC168 #68CD8E
square
#6874CD #CD68A7 #CDC168 #68CD8E
split-complementary
#6874CD #CD8E68 #A7CD68
monochromatic
#2E3A8C #3E4CBA #6874CD #969EDC #C4C9EB

Accessibility & contrast

On white

4.23
#6874CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6874CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874CD#FFFFFF#000000##000000
##6874CD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#408796
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6874cd;
/* rgb */ color: rgb(104, 116, 205);
/* oklch */ color: oklch(59.1% 0.136 275.6);
Tailwind
colors: {
  custom: {
    50: '#999bdd',
    500: '#6874cd',
    950: '#000000',
  },
}
SCSS
$custom: #6874cd;
$custom-light: #999bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6874cd",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 232.871,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.13579,
    "h": 275.6
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#6874CD
secondary
#DCD7B5
accent
#AC28BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6874CD

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

Preview Lab → · Contrast checker → · Palette generator →

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