#6874FD#6874FD

#6874FD is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.2% C 0.201 H 275.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6874FD
RGBrgb(104, 116, 253)
HSLhsl(235, 97%, 70%)
HSVhsv(235, 59%, 99%)
CMYKcmyk(58.9%, 54.2%, 0%, 0.8%)
CIE-LABlab(54.58, 35.00, -69.89)
CIE-LCHlch(54.58, 78.16, 296.60°)
OKLaboklab(62.22% 0.018 -0.2005)
OKLCHoklch(62.22% 0.201 275.1)
XYZxyz(29.6782, 22.5234, 95.6930)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874FD #FDF168
analogous
#68BEFD #6874FD #A768FD
triadic
#6874FD #FD6874 #74FD68
tetradic
#6874FD #FD68BE #FDF168 #68FDA7
square
#6874FD #FD68BE #FDF168 #68FDA7
split-complementary
#6874FD #FDA768 #BEFD68
monochromatic
#0315E8 #2C3CFC #6874FD #A4ACFE #E1E3FF

Accessibility & contrast

On white

3.81
#6874FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6874FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874FD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874FD#FFFFFF#000000##000000
##6874FD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C89FF
Deuteranopia (green-blind)
#007CFA
Tritanopia (blue-blind)
#0094AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6874fd;
/* rgb */ color: rgb(104, 116, 253);
/* oklch */ color: oklch(62.2% 0.201 275.1);
Tailwind
colors: {
  custom: {
    50: '#9f9cff',
    500: '#6874fd',
    950: '#000000',
  },
}
SCSS
$custom: #6874fd;
$custom-light: #9f9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#6874fd",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 235.168,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.62216,
    "c": 0.20129,
    "h": 275.1
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#6874FD
secondary
#F5F2CC
accent
#D300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6874FD

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

Preview Lab → · Contrast checker → · Palette generator →

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