#789CD5#789CD5

#789CD5 is a light, moderate blue. Relative luminance 0.326; OKLCH L 68.9% C 0.094 H 259.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#789CD5
RGBrgb(120, 156, 213)
HSLhsl(217, 53%, 65%)
HSVhsv(217, 44%, 84%)
CMYKcmyk(43.7%, 26.8%, 0%, 16.5%)
CIE-LABlab(63.81, 2.51, -32.97)
CIE-LCHlch(63.81, 33.07, 274.35°)
OKLaboklab(68.86% -0.0173 -0.092)
OKLCHoklch(68.86% 0.094 259.4)
XYZxyz(31.6405, 32.5722, 67.5577)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CD5 #D5B178
analogous
#78CAD5 #789CD5 #8278D5
triadic
#789CD5 #D5789C #9CD578
tetradic
#789CD5 #D578CA #D5B178 #78D582
square
#789CD5 #D578CA #D5B178 #78D582
split-complementary
#789CD5 #D58278 #CAD578
monochromatic
#325DA1 #497AC6 #789CD5 #A7BEE4 #D5E0F2

Accessibility & contrast

On white

2.79
#789CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#789CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CD5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CD5#FFFFFF#000000##000000
##789CD51.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD8
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#55A8B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #789cd5;
/* rgb */ color: rgb(120, 156, 213);
/* oklch */ color: oklch(68.9% 0.094 259.4);
Tailwind
colors: {
  custom: {
    50: '#a3b9e2',
    500: '#789cd5',
    950: '#000000',
  },
}
SCSS
$custom: #789cd5;
$custom-light: #a3b9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#789cd5",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 213
  },
  "hsl": {
    "h": 216.774,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68858,
    "c": 0.09362,
    "h": 259.4
  },
  "luminance": 0.32574
}

Semantic roles & 50–950 ramp

primary
#789CD5
secondary
#E4D8C5
accent
#8426C0
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #789CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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