#789BD2#789BD2

#789BD2 is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.5% C 0.091 H 259.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#789BD2
RGBrgb(120, 155, 210)
HSLhsl(217, 50%, 65%)
HSVhsv(217, 43%, 82%)
CMYKcmyk(42.9%, 26.2%, 0%, 17.6%)
CIE-LABlab(63.41, 2.22, -31.92)
CIE-LCHlch(63.41, 32.00, 273.99°)
OKLaboklab(68.51% -0.0169 -0.089)
OKLCHoklch(68.51% 0.091 259.2)
XYZxyz(31.0962, 32.0871, 65.5152)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789BD2 #D2AF78
analogous
#78C8D2 #789BD2 #8278D2
triadic
#789BD2 #D2789B #9BD278
tetradic
#789BD2 #D278C8 #D2AF78 #78D282
square
#789BD2 #D278C8 #D2AF78 #78D282
split-complementary
#789BD2 #D28278 #C8D278
monochromatic
#345C9C #4A79C3 #789BD2 #A6BDE1 #D4DFF1

Accessibility & contrast

On white

2.83
#789BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#789BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789BD2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789BD2#FFFFFF#000000##000000
##789BD21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879ED4
Deuteranopia (green-blind)
#7D96D1
Tritanopia (blue-blind)
#57A7AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #789bd2;
/* rgb */ color: rgb(120, 155, 210);
/* oklch */ color: oklch(68.5% 0.091 259.2);
Tailwind
colors: {
  custom: {
    50: '#a2b8e0',
    500: '#789bd2',
    950: '#000000',
  },
}
SCSS
$custom: #789bd2;
$custom-light: #a2b8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#789bd2",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 210
  },
  "hsl": {
    "h": 216.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68506,
    "c": 0.0906,
    "h": 259.2
  },
  "luminance": 0.32089
}

Semantic roles & 50–950 ramp

primary
#789BD2
secondary
#E2D6C3
accent
#8328BD
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #789BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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