#789CE3#789CE3

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

Color values

HEX#789CE3
RGBrgb(120, 156, 227)
HSLhsl(220, 66%, 68%)
HSVhsv(220, 47%, 89%)
CMYKcmyk(47.1%, 31.3%, 0%, 11%)
CIE-LABlab(64.41, 6.56, -39.79)
CIE-LCHlch(64.41, 40.33, 279.36°)
OKLaboklab(69.53% -0.0133 -0.1117)
OKLCHoklch(69.53% 0.112 263.2)
XYZxyz(33.4948, 33.3139, 77.3234)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CE3 #E3BF78
analogous
#78D1E3 #789CE3 #8978E3
triadic
#789CE3 #E3789C #9CE378
tetradic
#789CE3 #E378D1 #E3BF78 #78E389
square
#789CE3 #E378D1 #E3BF78 #78E389
split-complementary
#789CE3 #E38978 #D1E378
monochromatic
#2758BA #4577D8 #789CE3 #ABC1EE #DDE6F8

Accessibility & contrast

On white

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

On black

7.66
#789CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CE3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CE3#FFFFFF#000000##000000
##789CE31.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E6
Deuteranopia (green-blind)
#7698E1
Tritanopia (blue-blind)
#4CABB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #789ce3;
/* rgb */ color: rgb(120, 156, 227);
/* oklch */ color: oklch(69.5% 0.112 263.2);
Tailwind
colors: {
  custom: {
    50: '#a4b9ec',
    500: '#789ce3',
    950: '#000000',
  },
}
SCSS
$custom: #789ce3;
$custom-light: #a4b9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#789ce3",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 227
  },
  "hsl": {
    "h": 219.813,
    "s": 65.644,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69525,
    "c": 0.11248,
    "h": 263.2
  },
  "luminance": 0.33316
}

Semantic roles & 50–950 ramp

primary
#789CE3
secondary
#ECE1CB
accent
#9018CD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #789CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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