#6873FA#6873FA

#6873FA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.8% C 0.199 H 275.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6873FA
RGBrgb(104, 115, 250)
HSLhsl(235, 94%, 69%)
HSVhsv(235, 58%, 98%)
CMYKcmyk(58.4%, 54%, 0%, 2%)
CIE-LABlab(54.14, 34.63, -68.94)
CIE-LCHlch(54.14, 77.15, 296.67°)
OKLaboklab(61.82% 0.0188 -0.1977)
OKLCHoklch(61.82% 0.199 275.4)
XYZxyz(29.0894, 22.1045, 93.1576)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873FA #FAEF68
analogous
#68BCFA #6873FA #A668FA
triadic
#6873FA #FA6873 #73FA68
tetradic
#6873FA #FA68BC #FAEF68 #68FAA6
square
#6873FA #FA68BC #FAEF68 #68FAA6
split-complementary
#6873FA #FAA668 #BCFA68
monochromatic
#0718E0 #2D3CF8 #6873FA #A3AAFC #DEE1FE

Accessibility & contrast

On white

3.87
#6873FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6873FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873FA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873FA#FFFFFF#000000##000000
##6873FA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1188FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6873fa;
/* rgb */ color: rgb(104, 115, 250);
/* oklch */ color: oklch(61.8% 0.199 275.4);
Tailwind
colors: {
  custom: {
    50: '#9f9bfd',
    500: '#6873fa',
    950: '#000000',
  },
}
SCSS
$custom: #6873fa;
$custom-light: #9f9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6873fa",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 235.479,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.1986,
    "h": 275.4
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#6873FA
secondary
#F4F1CA
accent
#D400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6873FA

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

Preview Lab → · Contrast checker → · Palette generator →

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