#6874F0#6874F0

#6874F0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.3% C 0.184 H 275.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6874F0
RGBrgb(104, 116, 240)
HSLhsl(235, 82%, 67%)
HSVhsv(235, 57%, 94%)
CMYKcmyk(56.7%, 51.7%, 0%, 5.9%)
CIE-LABlab(53.73, 30.84, -64.04)
CIE-LCHlch(53.73, 71.08, 295.72°)
OKLaboklab(61.31% 0.0173 -0.1833)
OKLCHoklch(61.31% 0.184 275.4)
XYZxyz(27.6774, 21.7231, 85.1557)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874F0 #F0E468
analogous
#68B8F0 #6874F0 #A068F0
triadic
#6874F0 #F06874 #74F068
tetradic
#6874F0 #F068B8 #F0E468 #68F0A0
square
#6874F0 #F068B8 #F0E468 #68F0A0
split-complementary
#6874F0 #F0A068 #B8F068
monochromatic
#1424CA #3041EA #6874F0 #A0A7F6 #D7DAFB

Accessibility & contrast

On white

3.93
#6874F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6874F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874F0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874F0#FFFFFF#000000##000000
##6874F01.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F4
Deuteranopia (green-blind)
#087BED
Tritanopia (blue-blind)
#0F90A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6874f0;
/* rgb */ color: rgb(104, 116, 240);
/* oklch */ color: oklch(61.3% 0.184 275.4);
Tailwind
colors: {
  custom: {
    50: '#9e9bf6',
    500: '#6874f0',
    950: '#000000',
  },
}
SCSS
$custom: #6874f0;
$custom-light: #9e9bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6874f0",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 234.706,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.18409,
    "h": 275.4
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#6874F0
secondary
#EFEBC5
accent
#CB07DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6874F0

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

Preview Lab → · Contrast checker → · Palette generator →

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