#6874CE#6874CE

#6874CE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.1% C 0.137 H 275.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6874CE
RGBrgb(104, 116, 206)
HSLhsl(233, 51%, 61%)
HSVhsv(233, 50%, 81%)
CMYKcmyk(49.5%, 43.7%, 0%, 19.2%)
CIE-LABlab(51.71, 20.13, -48.13)
CIE-LCHlch(51.71, 52.17, 292.70°)
OKLaboklab(59.13% 0.0135 -0.1365)
OKLCHoklch(59.13% 0.137 275.7)
XYZxyz(23.0914, 19.8887, 61.0027)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874CE #CEC268
analogous
#68A7CE #6874CE #8F68CE
triadic
#6874CE #CE6874 #74CE68
tetradic
#6874CE #CE68A7 #CEC268 #68CE8F
square
#6874CE #CE68A7 #CEC268 #68CE8F
split-complementary
#6874CE #CE8F68 #A7CE68
monochromatic
#2E398E #3D4CBC #6874CE #969FDD #C4C9EC

Accessibility & contrast

On white

4.22
#6874CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6874CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874CE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874CE#FFFFFF#000000##000000
##6874CE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D1
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#3F8797
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6874ce;
/* rgb */ color: rgb(104, 116, 206);
/* oklch */ color: oklch(59.1% 0.137 275.7);
Tailwind
colors: {
  custom: {
    50: '#999bdd',
    500: '#6874ce',
    950: '#000000',
  },
}
SCSS
$custom: #6874ce;
$custom-light: #999bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6874ce",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 232.941,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.13721,
    "h": 275.7
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#6874CE
secondary
#DCD8B6
accent
#AD27BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6874CE

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

Preview Lab → · Contrast checker → · Palette generator →

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