#789CEB#789CEB

#789CEB is a light, vivid blue. Relative luminance 0.338; OKLCH L 69.9% C 0.123 H 264.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#789CEB
RGBrgb(120, 156, 235)
HSLhsl(221, 74%, 70%)
HSVhsv(221, 49%, 92%)
CMYKcmyk(48.9%, 33.6%, 0%, 7.8%)
CIE-LABlab(64.78, 8.92, -43.63)
CIE-LCHlch(64.78, 44.53, 281.56°)
OKLaboklab(69.93% -0.0112 -0.1228)
OKLCHoklch(69.93% 0.123 264.8)
XYZxyz(34.6247, 33.7659, 83.2741)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CEB #EBC778
analogous
#78D6EB #789CEB #8D78EB
triadic
#789CEB #EB789C #9CEB78
tetradic
#789CEB #EB78D6 #EBC778 #78EB8D
square
#789CEB #EB78D6 #EBC778 #78EB8D
split-complementary
#789CEB #EB8D78 #D6EB78
monochromatic
#1E54CB #4375E3 #789CEB #ADC3F3 #E3EAFB

Accessibility & contrast

On white

2.71
#789CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#789CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CEB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CEB#FFFFFF#000000##000000
##789CEB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#46ADB9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #789ceb;
/* rgb */ color: rgb(120, 156, 235);
/* oklch */ color: oklch(69.9% 0.123 264.8);
Tailwind
colors: {
  custom: {
    50: '#a5b8f2',
    500: '#789ceb',
    950: '#000000',
  },
}
SCSS
$custom: #789ceb;
$custom-light: #a5b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#789ceb",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 235
  },
  "hsl": {
    "h": 221.217,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69925,
    "c": 0.12334,
    "h": 264.8
  },
  "luminance": 0.33768
}

Semantic roles & 50–950 ramp

primary
#789CEB
secondary
#F0E6CF
accent
#980FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #789CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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