#6874FC#6874FC

#6874FC is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.1% C 0.200 H 275.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6874FC
RGBrgb(104, 116, 252)
HSLhsl(235, 96%, 70%)
HSVhsv(235, 59%, 99%)
CMYKcmyk(58.7%, 54%, 0%, 1.2%)
CIE-LABlab(54.51, 34.67, -69.44)
CIE-LCHlch(54.51, 77.62, 296.53°)
OKLaboklab(62.15% 0.018 -0.1992)
OKLCHoklch(62.15% 0.2 275.2)
XYZxyz(29.5193, 22.4599, 94.8562)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874FC #FCF068
analogous
#68BEFC #6874FC #A668FC
triadic
#6874FC #FC6874 #74FC68
tetradic
#6874FC #FC68BE #FCF068 #68FCA6
square
#6874FC #FC68BE #FCF068 #68FCA6
split-complementary
#6874FC #FCA668 #BEFC68
monochromatic
#0517E5 #2C3DFB #6874FC #A4ABFD #E0E2FE

Accessibility & contrast

On white

3.82
#6874FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6874FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874FC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874FC#FFFFFF#000000##000000
##6874FC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1189FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#0094AD
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6874fc;
/* rgb */ color: rgb(104, 116, 252);
/* oklch */ color: oklch(62.1% 0.200 275.2);
Tailwind
colors: {
  custom: {
    50: '#9f9cfe',
    500: '#6874fc',
    950: '#000000',
  },
}
SCSS
$custom: #6874fc;
$custom-light: #9f9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#6874fc",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 235.135,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62145,
    "c": 0.19998,
    "h": 275.2
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6874FC

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

Preview Lab → · Contrast checker → · Palette generator →

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