#6873F4#6873F4

#6873F4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.4% C 0.191 H 275.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6873F4
RGBrgb(104, 115, 244)
HSLhsl(235, 86%, 68%)
HSVhsv(235, 57%, 96%)
CMYKcmyk(57.4%, 52.9%, 0%, 4.3%)
CIE-LABlab(53.74, 32.72, -66.25)
CIE-LCHlch(53.74, 73.89, 296.28°)
OKLaboklab(61.4% 0.0186 -0.1898)
OKLCHoklch(61.4% 0.191 275.6)
XYZxyz(28.1635, 21.7341, 88.2814)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873F4 #F4E968
analogous
#68B9F4 #6873F4 #A368F4
triadic
#6873F4 #F46873 #73F468
tetradic
#6873F4 #F468B9 #F4E968 #68F4A3
square
#6873F4 #F468B9 #F4E968 #68F4A3
split-complementary
#6873F4 #F4A368 #B9F468
monochromatic
#0F1FD2 #2F3EF0 #6873F4 #A1A8F8 #DADDFC

Accessibility & contrast

On white

3.93
#6873F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6873F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873F4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873F4#FFFFFF#000000##000000
##6873F41.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)
#2287F8
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6873f4;
/* rgb */ color: rgb(104, 115, 244);
/* oklch */ color: oklch(61.4% 0.191 275.6);
Tailwind
colors: {
  custom: {
    50: '#9e9bf8',
    500: '#6873f4',
    950: '#000000',
  },
}
SCSS
$custom: #6873f4;
$custom-light: #9e9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#6873f4",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 235.286,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.19068,
    "h": 275.6
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#6873F4
secondary
#F1EEC7
accent
#D103E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6873F4

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

Preview Lab → · Contrast checker → · Palette generator →

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