#789CE2#789CE2

#789CE2 is a light, moderate blue. Relative luminance 0.333; OKLCH L 69.5% C 0.111 H 263.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#789CE2
RGBrgb(120, 156, 226)
HSLhsl(220, 65%, 68%)
HSVhsv(220, 47%, 89%)
CMYKcmyk(46.9%, 31%, 0%, 11.4%)
CIE-LABlab(64.37, 6.26, -39.31)
CIE-LCHlch(64.37, 39.80, 279.05°)
OKLaboklab(69.48% -0.0136 -0.1103)
OKLCHoklch(69.48% 0.111 263)
XYZxyz(33.3572, 33.2589, 76.5986)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CE2 #E2BE78
analogous
#78D1E2 #789CE2 #8978E2
triadic
#789CE2 #E2789C #9CE278
tetradic
#789CE2 #E278D1 #E2BE78 #78E289
square
#789CE2 #E278D1 #E2BE78 #78E289
split-complementary
#789CE2 #E28978 #D1E278
monochromatic
#2859B8 #4677D7 #789CE2 #AAC1ED #DDE6F8

Accessibility & contrast

On white

2.74
#789CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#789CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CE2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CE2#FFFFFF#000000##000000
##789CE21.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A1E5
Deuteranopia (green-blind)
#7698E0
Tritanopia (blue-blind)
#4DABB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #789ce2;
/* rgb */ color: rgb(120, 156, 226);
/* oklch */ color: oklch(69.5% 0.111 263.0);
Tailwind
colors: {
  custom: {
    50: '#a4b9eb',
    500: '#789ce2',
    950: '#000000',
  },
}
SCSS
$custom: #789ce2;
$custom-light: #a4b9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#789ce2",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 226
  },
  "hsl": {
    "h": 219.623,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69476,
    "c": 0.11112,
    "h": 263
  },
  "luminance": 0.33261
}

Semantic roles & 50–950 ramp

primary
#789CE2
secondary
#EBE0CB
accent
#9019CC
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #789CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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