#789FE5#789FE5

#789FE5 is a light, moderate blue. Relative luminance 0.344; OKLCH L 70.3% C 0.112 H 261.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#789FE5
RGBrgb(120, 159, 229)
HSLhsl(219, 68%, 68%)
HSVhsv(219, 48%, 90%)
CMYKcmyk(47.6%, 30.6%, 0%, 10.2%)
CIE-LABlab(65.31, 5.43, -39.49)
CIE-LCHlch(65.31, 39.86, 277.82°)
OKLaboklab(70.26% -0.0163 -0.1108)
OKLCHoklch(70.26% 0.112 261.6)
XYZxyz(34.2821, 34.4442, 78.9555)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789FE5 #E5BE78
analogous
#78D5E5 #789FE5 #8778E5
triadic
#789FE5 #E5789F #9FE578
tetradic
#789FE5 #E578D5 #E5BE78 #78E587
square
#789FE5 #E578D5 #E5BE78 #78E587
split-complementary
#789FE5 #E58778 #D5E578
monochromatic
#255BBE #457BDB #789FE5 #ABC3EF #DFE8F9

Accessibility & contrast

On white

2.66
#789FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#789FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789FE5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789FE5#FFFFFF#000000##000000
##789FE51.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A4E8
Deuteranopia (green-blind)
#789AE3
Tritanopia (blue-blind)
#4AAEB8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #789fe5;
/* rgb */ color: rgb(120, 159, 229);
/* oklch */ color: oklch(70.3% 0.112 261.6);
Tailwind
colors: {
  custom: {
    50: '#a4bbed',
    500: '#789fe5',
    950: '#000000',
  },
}
SCSS
$custom: #789fe5;
$custom-light: #a4bbed;
$custom-dark: #000000;
JSON
{
  "hex": "#789fe5",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 229
  },
  "hsl": {
    "h": 218.532,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70255,
    "c": 0.112,
    "h": 261.6
  },
  "luminance": 0.34446
}

Semantic roles & 50–950 ramp

primary
#789FE5
secondary
#EDE1CC
accent
#8D16D0
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #789FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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