#789CD9#789CD9

#789CD9 is a light, moderate blue. Relative luminance 0.328; OKLCH L 69.0% C 0.099 H 260.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#789CD9
RGBrgb(120, 156, 217)
HSLhsl(218, 56%, 66%)
HSVhsv(218, 45%, 85%)
CMYKcmyk(44.7%, 28.1%, 0%, 14.9%)
CIE-LABlab(63.98, 3.65, -34.93)
CIE-LCHlch(63.98, 35.12, 275.97°)
OKLaboklab(69.04% -0.0161 -0.0977)
OKLCHoklch(69.04% 0.099 260.6)
XYZxyz(32.1545, 32.7778, 70.2646)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CD9 #D9B578
analogous
#78CCD9 #789CD9 #8478D9
triadic
#789CD9 #D9789C #9CD978
tetradic
#789CD9 #D978CC #D9B578 #78D984
square
#789CD9 #D978CC #D9B578 #78D984
split-complementary
#789CD9 #D98478 #CCD978
monochromatic
#2F5CA7 #4879CC #789CD9 #A8BFE6 #D8E2F4

Accessibility & contrast

On white

2.78
#789CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#789CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CD9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CD9#FFFFFF#000000##000000
##789CD91.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DC
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#53A9B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #789cd9;
/* rgb */ color: rgb(120, 156, 217);
/* oklch */ color: oklch(69.0% 0.099 260.6);
Tailwind
colors: {
  custom: {
    50: '#a3b9e5',
    500: '#789cd9',
    950: '#000000',
  },
}
SCSS
$custom: #789cd9;
$custom-light: #a3b9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#789cd9",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 217.732,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69044,
    "c": 0.09897,
    "h": 260.6
  },
  "luminance": 0.3278
}

Semantic roles & 50–950 ramp

primary
#789CD9
secondary
#E6DBC6
accent
#8822C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#0F1115
muted
#7F8084

Preview Lab

Preview with #789CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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