#789FD8#789FD8

#789FD8 is a light, moderate blue. Relative luminance 0.337; OKLCH L 69.6% C 0.095 H 257.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#789FD8
RGBrgb(120, 159, 216)
HSLhsl(216, 55%, 66%)
HSVhsv(216, 44%, 85%)
CMYKcmyk(44.4%, 26.4%, 0%, 15.3%)
CIE-LABlab(64.76, 1.66, -33.17)
CIE-LCHlch(64.76, 33.21, 272.86°)
OKLaboklab(69.64% -0.0201 -0.0926)
OKLCHoklch(69.64% 0.095 257.8)
XYZxyz(32.5345, 33.7452, 69.7516)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789FD8 #D8B178
analogous
#78CFD8 #789FD8 #8178D8
triadic
#789FD8 #D8789F #9FD878
tetradic
#789FD8 #D878CF #D8B178 #78D881
square
#789FD8 #D878CF #D8B178 #78D881
split-complementary
#789FD8 #D88178 #CFD878
monochromatic
#3060A6 #497DCA #789FD8 #A7C1E6 #D7E3F3

Accessibility & contrast

On white

2.71
#789FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#789FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789FD8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789FD8#FFFFFF#000000##000000
##789FD81.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA2DB
Deuteranopia (green-blind)
#7F99D7
Tritanopia (blue-blind)
#53ABB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #789fd8;
/* rgb */ color: rgb(120, 159, 216);
/* oklch */ color: oklch(69.6% 0.095 257.8);
Tailwind
colors: {
  custom: {
    50: '#a3bbe4',
    500: '#789fd8',
    950: '#000000',
  },
}
SCSS
$custom: #789fd8;
$custom-light: #a3bbe4;
$custom-dark: #000000;
JSON
{
  "hex": "#789fd8",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 216
  },
  "hsl": {
    "h": 215.625,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6964,
    "c": 0.09473,
    "h": 257.8
  },
  "luminance": 0.33747
}

Semantic roles & 50–950 ramp

primary
#789FD8
secondary
#E6D9C6
accent
#8223C3
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #789FD8

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

Preview Lab → · Contrast checker → · Palette generator →

#789FD8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva