#6789F4#6789F4

#6789F4 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.6% C 0.164 H 268.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6789F4
RGBrgb(103, 137, 244)
HSLhsl(226, 87%, 68%)
HSVhsv(226, 58%, 96%)
CMYKcmyk(57.8%, 43.9%, 0%, 4.3%)
CIE-LABlab(59.25, 19.29, -57.40)
CIE-LCHlch(59.25, 60.55, 288.58°)
OKLaboklab(65.57% -0.0046 -0.1635)
OKLCHoklch(65.57% 0.164 268.4)
XYZxyz(30.8628, 27.3041, 89.2142)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6789F4 #F4D267
analogous
#67CFF4 #6789F4 #8B67F4
triadic
#6789F4 #F46789 #89F467
tetradic
#6789F4 #F467CF #F4D267 #67F48B
square
#6789F4 #F467CF #F4D267 #67F48B
split-complementary
#6789F4 #F48B67 #CFF467
monochromatic
#0F3ED1 #2E5DF0 #6789F4 #A0B5F8 #D9E2FC

Accessibility & contrast

On white

3.25
#6789F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#6789F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6789F4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6789F4#FFFFFF#000000##000000
##6789F41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F8
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6789f4;
/* rgb */ color: rgb(103, 137, 244);
/* oklch */ color: oklch(65.6% 0.164 268.4);
Tailwind
colors: {
  custom: {
    50: '#9dabf8',
    500: '#6789f4',
    950: '#000000',
  },
}
SCSS
$custom: #6789f4;
$custom-light: #9dabf8;
$custom-dark: #000000;
JSON
{
  "hex": "#6789f4",
  "rgb": {
    "r": 103,
    "g": 137,
    "b": 244
  },
  "hsl": {
    "h": 225.532,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65565,
    "c": 0.16362,
    "h": 268.4
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#6789F4
secondary
#F1E7C6
accent
#AD02E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6789F4

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

Preview Lab → · Contrast checker → · Palette generator →

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