#6874F4#6874F4

#6874F4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.6% C 0.189 H 275.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6874F4
RGBrgb(104, 116, 244)
HSLhsl(235, 86%, 68%)
HSVhsv(235, 57%, 96%)
CMYKcmyk(57.4%, 52.5%, 0%, 4.3%)
CIE-LABlab(53.99, 32.12, -65.85)
CIE-LCHlch(53.99, 73.27, 296.00°)
OKLaboklab(61.59% 0.0176 -0.1886)
OKLCHoklch(61.59% 0.189 275.3)
XYZxyz(28.2782, 21.9634, 88.3196)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874F4 #F4E868
analogous
#68BAF4 #6874F4 #A268F4
triadic
#6874F4 #F46874 #74F468
tetradic
#6874F4 #F468BA #F4E868 #68F4A2
square
#6874F4 #F468BA #F4E868 #68F4A2
split-complementary
#6874F4 #F4A268 #BAF468
monochromatic
#0F20D2 #2F3FF0 #6874F4 #A1A9F8 #DADDFC

Accessibility & contrast

On white

3.89
#6874F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6874F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874F4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874F4#FFFFFF#000000##000000
##6874F41.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F8
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6874f4;
/* rgb */ color: rgb(104, 116, 244);
/* oklch */ color: oklch(61.6% 0.189 275.3);
Tailwind
colors: {
  custom: {
    50: '#9e9bf8',
    500: '#6874f4',
    950: '#000000',
  },
}
SCSS
$custom: #6874f4;
$custom-light: #9e9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#6874f4",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 234.857,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.18942,
    "h": 275.3
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#6874F4
secondary
#F1EDC7
accent
#D003E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6874F4

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

Preview Lab → · Contrast checker → · Palette generator →

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