#789CE8#789CE8

#789CE8 is a light, moderate blue. Relative luminance 0.336; OKLCH L 69.8% C 0.119 H 264.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#789CE8
RGBrgb(120, 156, 232)
HSLhsl(221, 71%, 69%)
HSVhsv(221, 48%, 91%)
CMYKcmyk(48.3%, 32.8%, 0%, 9%)
CIE-LABlab(64.64, 8.03, -42.19)
CIE-LCHlch(64.64, 42.95, 280.78°)
OKLaboklab(69.77% -0.012 -0.1187)
OKLCHoklch(69.77% 0.119 264.2)
XYZxyz(34.1949, 33.5940, 81.0107)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CE8 #E8C478
analogous
#78D4E8 #789CE8 #8C78E8
triadic
#789CE8 #E8789C #9CE878
tetradic
#789CE8 #E878D4 #E8C478 #78E88C
square
#789CE8 #E878D4 #E8C478 #78E88C
split-complementary
#789CE8 #E88C78 #D4E878
monochromatic
#2156C4 #4476DF #789CE8 #ACC2F1 #E1E9FA

Accessibility & contrast

On white

2.72
#789CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#789CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CE8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CE8#FFFFFF#000000##000000
##789CE81.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA2EB
Deuteranopia (green-blind)
#7398E6
Tritanopia (blue-blind)
#49ACB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #789ce8;
/* rgb */ color: rgb(120, 156, 232);
/* oklch */ color: oklch(69.8% 0.119 264.2);
Tailwind
colors: {
  custom: {
    50: '#a4b8ef',
    500: '#789ce8',
    950: '#000000',
  },
}
SCSS
$custom: #789ce8;
$custom-light: #a4b8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#789ce8",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 232
  },
  "hsl": {
    "h": 220.714,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.11926,
    "h": 264.2
  },
  "luminance": 0.33596
}

Semantic roles & 50–950 ramp

primary
#789CE8
secondary
#EEE4CD
accent
#9513D3
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #789CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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