#789CD2#789CD2

#789CD2 is a light, moderate blue. Relative luminance 0.324; OKLCH L 68.7% C 0.090 H 258.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#789CD2
RGBrgb(120, 156, 210)
HSLhsl(216, 50%, 65%)
HSVhsv(216, 43%, 82%)
CMYKcmyk(42.9%, 25.7%, 0%, 17.6%)
CIE-LABlab(63.69, 1.66, -31.50)
CIE-LCHlch(63.69, 31.54, 273.01°)
OKLaboklab(68.72% -0.0182 -0.0878)
OKLCHoklch(68.72% 0.09 258.3)
XYZxyz(31.2633, 32.4213, 65.5709)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CD2 #D2AE78
analogous
#78C9D2 #789CD2 #8178D2
triadic
#789CD2 #D2789C #9CD278
tetradic
#789CD2 #D278C9 #D2AE78 #78D281
square
#789CD2 #D278C9 #D2AE78 #78D281
split-complementary
#789CD2 #D28178 #C9D278
monochromatic
#345D9C #4A7AC3 #789CD2 #A6BEE1 #D4DFF1

Accessibility & contrast

On white

2.81
#789CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#789CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CD2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CD2#FFFFFF#000000##000000
##789CD21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD4
Deuteranopia (green-blind)
#7E96D1
Tritanopia (blue-blind)
#57A8AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #789cd2;
/* rgb */ color: rgb(120, 156, 210);
/* oklch */ color: oklch(68.7% 0.090 258.3);
Tailwind
colors: {
  custom: {
    50: '#a2b9e0',
    500: '#789cd2',
    950: '#000000',
  },
}
SCSS
$custom: #789cd2;
$custom-light: #a2b9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#789cd2",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 216,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.08965,
    "h": 258.3
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #789CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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