#6873FB#6873FB

#6873FB is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.200 H 275.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6873FB
RGBrgb(104, 115, 251)
HSLhsl(236, 95%, 70%)
HSVhsv(236, 59%, 98%)
CMYKcmyk(58.6%, 54.2%, 0%, 1.6%)
CIE-LABlab(54.20, 34.95, -69.39)
CIE-LCHlch(54.20, 77.69, 296.74°)
OKLaboklab(61.89% 0.0189 -0.199)
OKLCHoklch(61.89% 0.2 275.4)
XYZxyz(29.2466, 22.1673, 93.9856)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873FB #FBF068
analogous
#68BDFB #6873FB #A668FB
triadic
#6873FB #FB6873 #73FB68
tetradic
#6873FB #FB68BD #FBF068 #68FBA6
square
#6873FB #FB68BD #FBF068 #68FBA6
split-complementary
#6873FB #FBA668 #BDFB68
monochromatic
#0617E3 #2C3CF9 #6873FB #A4AAFD #DFE2FE

Accessibility & contrast

On white

3.86
#6873FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6873FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873FB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873FB#FFFFFF#000000##000000
##6873FB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#0093AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6873fb;
/* rgb */ color: rgb(104, 115, 251);
/* oklch */ color: oklch(61.9% 0.200 275.4);
Tailwind
colors: {
  custom: {
    50: '#9f9bfd',
    500: '#6873fb',
    950: '#000000',
  },
}
SCSS
$custom: #6873fb;
$custom-light: #9f9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6873fb",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 235.51,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.1999,
    "h": 275.4
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6873FB

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

Preview Lab → · Contrast checker → · Palette generator →

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