#6789E2#6789E2

#6789E2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.139 H 266.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6789E2
RGBrgb(103, 137, 226)
HSLhsl(223, 68%, 65%)
HSVhsv(223, 54%, 89%)
CMYKcmyk(54.4%, 39.4%, 0%, 11.4%)
CIE-LABlab(58.29, 13.53, -48.95)
CIE-LCHlch(58.29, 50.79, 285.45°)
OKLaboklab(64.51% -0.0079 -0.1388)
OKLCHoklch(64.51% 0.139 266.7)
XYZxyz(28.2621, 26.2638, 75.5169)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6789E2 #E2C067
analogous
#67C6E2 #6789E2 #8367E2
triadic
#6789E2 #E26789 #89E267
tetradic
#6789E2 #E267C6 #E2C067 #67E283
square
#6789E2 #E267C6 #E2C067 #67E283
split-complementary
#6789E2 #E28367 #C6E267
monochromatic
#2148AD #3461D8 #6789E2 #9AB1EC #CED9F6

Accessibility & contrast

On white

3.36
#6789E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#6789E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6789E2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6789E2#FFFFFF#000000##000000
##6789E21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#5587E0
Tritanopia (blue-blind)
#219CAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6789e2;
/* rgb */ color: rgb(103, 137, 226);
/* oklch */ color: oklch(64.5% 0.139 266.7);
Tailwind
colors: {
  custom: {
    50: '#9aabeb',
    500: '#6789e2',
    950: '#000000',
  },
}
SCSS
$custom: #6789e2;
$custom-light: #9aabeb;
$custom-dark: #000000;
JSON
{
  "hex": "#6789e2",
  "rgb": {
    "r": 103,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 223.415,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64506,
    "c": 0.13902,
    "h": 266.7
  },
  "luminance": 0.26266
}

Semantic roles & 50–950 ramp

primary
#6789E2
secondary
#E8DCBD
accent
#9C16D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1016
muted
#7E7F84

Preview Lab

Preview with #6789E2

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

Preview Lab → · Contrast checker → · Palette generator →

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