#6874CF#6874CF

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

Color values

HEX#6874CF
RGBrgb(104, 116, 207)
HSLhsl(233, 52%, 61%)
HSVhsv(233, 50%, 81%)
CMYKcmyk(49.8%, 44%, 0%, 18.8%)
CIE-LABlab(51.77, 20.44, -48.61)
CIE-LCHlch(51.77, 52.74, 292.81°)
OKLaboklab(59.19% 0.0137 -0.1379)
OKLCHoklch(59.19% 0.139 275.7)
XYZxyz(23.2133, 19.9374, 61.6445)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874CF #CFC368
analogous
#68A7CF #6874CF #8F68CF
triadic
#6874CF #CF6874 #74CF68
tetradic
#6874CF #CF68A7 #CFC368 #68CF8F
square
#6874CF #CF68A7 #CFC368 #68CF8F
split-complementary
#6874CF #CF8F68 #A7CF68
monochromatic
#2D398F #3C4BBE #6874CF #969FDE #C5C9ED

Accessibility & contrast

On white

4.21
#6874CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6874CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874CF#FFFFFF#000000##000000
##6874CF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#4577CD
Tritanopia (blue-blind)
#3E8797
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6874cf;
/* rgb */ color: rgb(104, 116, 207);
/* oklch */ color: oklch(59.2% 0.139 275.7);
Tailwind
colors: {
  custom: {
    50: '#999bde',
    500: '#6874cf',
    950: '#000000',
  },
}
SCSS
$custom: #6874cf;
$custom-light: #999bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6874cf",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 233.01,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.13863,
    "h": 275.7
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#6874CF
secondary
#DDD8B6
accent
#AD26BF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6874CF

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

Preview Lab → · Contrast checker → · Palette generator →

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