#6789DC#6789DC

#6789DC is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.2% C 0.131 H 266.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6789DC
RGBrgb(103, 137, 220)
HSLhsl(223, 63%, 63%)
HSVhsv(223, 53%, 86%)
CMYKcmyk(53.2%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.98, 11.63, -46.09)
CIE-LCHlch(57.98, 47.53, 284.16°)
OKLaboklab(64.17% -0.0092 -0.1304)
OKLCHoklch(64.17% 0.131 266)
XYZxyz(27.4531, 25.9402, 71.2566)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6789DC #DCBA67
analogous
#67C3DC #6789DC #7F67DC
triadic
#6789DC #DC6789 #89DC67
tetradic
#6789DC #DC67C3 #DCBA67 #67DC7F
square
#6789DC #DC67C3 #DCBA67 #67DC7F
split-complementary
#6789DC #DC7F67 #C3DC67
monochromatic
#264AA3 #3562D1 #6789DC #99B0E7 #CAD6F3

Accessibility & contrast

On white

3.39
#6789DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#6789DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6789DC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6789DC#FFFFFF#000000##000000
##6789DC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DF
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#2A9BA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6789dc;
/* rgb */ color: rgb(103, 137, 220);
/* oklch */ color: oklch(64.2% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#9aabe7',
    500: '#6789dc',
    950: '#000000',
  },
}
SCSS
$custom: #6789dc;
$custom-light: #9aabe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6789dc",
  "rgb": {
    "r": 103,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 222.564,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6417,
    "c": 0.13074,
    "h": 266
  },
  "luminance": 0.25942
}

Semantic roles & 50–950 ramp

primary
#6789DC
secondary
#E4D8BB
accent
#971BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0F1016
muted
#7E7F84

Preview Lab

Preview with #6789DC

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

Preview Lab → · Contrast checker → · Palette generator →

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