#6789F6#6789F6

#6789F6 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.7% C 0.166 H 268.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6789F6
RGBrgb(103, 137, 246)
HSLhsl(226, 89%, 68%)
HSVhsv(226, 58%, 96%)
CMYKcmyk(58.1%, 44.3%, 0%, 3.5%)
CIE-LABlab(59.37, 19.94, -58.32)
CIE-LCHlch(59.37, 61.64, 288.87°)
OKLaboklab(65.69% -0.0043 -0.1663)
OKLCHoklch(65.69% 0.166 268.5)
XYZxyz(31.1681, 27.4262, 90.8222)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6789F6 #F6D467
analogous
#67D1F6 #6789F6 #8C67F6
triadic
#6789F6 #F66789 #89F667
tetradic
#6789F6 #F667D1 #F6D467 #67F68C
square
#6789F6 #F667D1 #F6D467 #67F68C
split-complementary
#6789F6 #F68C67 #D1F667
monochromatic
#0D3DD6 #2D5CF3 #6789F6 #A1B6F9 #DBE3FD

Accessibility & contrast

On white

3.24
#6789F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#6789F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6789F6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6789F6#FFFFFF#000000##000000
##6789F61.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6789f6;
/* rgb */ color: rgb(103, 137, 246);
/* oklch */ color: oklch(65.7% 0.166 268.5);
Tailwind
colors: {
  custom: {
    50: '#9dabfa',
    500: '#6789f6',
    950: '#000000',
  },
}
SCSS
$custom: #6789f6;
$custom-light: #9dabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6789f6",
  "rgb": {
    "r": 103,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 225.734,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65687,
    "c": 0.16633,
    "h": 268.5
  },
  "luminance": 0.27429
}

Semantic roles & 50–950 ramp

primary
#6789F6
secondary
#F2E8C7
accent
#AF00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6789F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6789F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva