#6873EB#6873EB

#6873EB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.179 H 275.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6873EB
RGBrgb(104, 115, 235)
HSLhsl(235, 77%, 66%)
HSVhsv(235, 56%, 92%)
CMYKcmyk(55.7%, 51.1%, 0%, 7.8%)
CIE-LABlab(53.17, 29.85, -62.16)
CIE-LCHlch(53.17, 68.95, 295.65°)
OKLaboklab(60.79% 0.018 -0.1777)
OKLCHoklch(60.79% 0.179 275.8)
XYZxyz(26.8302, 21.2008, 81.2595)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873EB #EBE068
analogous
#68B5EB #6873EB #9F68EB
triadic
#6873EB #EB6873 #73EB68
tetradic
#6873EB #EB68B5 #EBE068 #68EB9F
square
#6873EB #EB68B5 #EBE068 #68EB9F
split-complementary
#6873EB #EB9F68 #B5EB68
monochromatic
#1927BF #3241E4 #6873EB #9EA5F2 #D4D7F9

Accessibility & contrast

On white

4.01
#6873EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6873EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873EB#FFFFFF#000000##000000
##6873EB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#187AE8
Tritanopia (blue-blind)
#1D8EA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6873eb;
/* rgb */ color: rgb(104, 115, 235);
/* oklch */ color: oklch(60.8% 0.179 275.8);
Tailwind
colors: {
  custom: {
    50: '#9d9bf2',
    500: '#6873eb',
    950: '#000000',
  },
}
SCSS
$custom: #6873eb;
$custom-light: #9d9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6873eb",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 234.962,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.17865,
    "h": 275.8
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#6873EB
secondary
#EDE9C2
accent
#C80DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6873EB

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

Preview Lab → · Contrast checker → · Palette generator →

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