#6874F8#6874F8

#6874F8 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.195 H 275.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6874F8
RGBrgb(104, 116, 248)
HSLhsl(235, 91%, 69%)
HSVhsv(235, 58%, 97%)
CMYKcmyk(58.1%, 53.2%, 0%, 2.7%)
CIE-LABlab(54.25, 33.40, -67.65)
CIE-LCHlch(54.25, 75.45, 296.27°)
OKLaboklab(61.86% 0.0178 -0.1939)
OKLCHoklch(61.86% 0.195 275.2)
XYZxyz(28.8921, 22.2090, 91.5530)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874F8 #F8EC68
analogous
#68BCF8 #6874F8 #A468F8
triadic
#6874F8 #F86874 #74F868
tetradic
#6874F8 #F868BC #F8EC68 #68F8A4
square
#6874F8 #F868BC #F8EC68 #68F8A4
split-complementary
#6874F8 #F8A468 #BCF868
monochromatic
#0A1CDB #2E3EF5 #6874F8 #A2AAFB #DDE0FD

Accessibility & contrast

On white

3.86
#6874F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6874F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874F8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874F8#FFFFFF#000000##000000
##6874F81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D88FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6874f8;
/* rgb */ color: rgb(104, 116, 248);
/* oklch */ color: oklch(61.9% 0.195 275.2);
Tailwind
colors: {
  custom: {
    50: '#9f9cfb',
    500: '#6874f8',
    950: '#000000',
  },
}
SCSS
$custom: #6874f8;
$custom-light: #9f9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6874f8",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 235,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61864,
    "c": 0.19472,
    "h": 275.2
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#6874F8
secondary
#F3EFC9
accent
#D200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6874F8

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

Preview Lab → · Contrast checker → · Palette generator →

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