#789CF7#789CF7

#789CF7 is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.6% C 0.140 H 266.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#789CF7
RGBrgb(120, 156, 247)
HSLhsl(223, 89%, 72%)
HSVhsv(223, 51%, 97%)
CMYKcmyk(51.4%, 36.8%, 0%, 3.1%)
CIE-LABlab(65.34, 12.53, -49.32)
CIE-LCHlch(65.34, 50.88, 284.26°)
OKLaboklab(70.55% -0.0084 -0.1394)
OKLCHoklch(70.55% 0.14 266.5)
XYZxyz(36.4171, 34.4829, 92.7145)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CF7 #F7D378
analogous
#78DCF7 #789CF7 #9478F7
triadic
#789CF7 #F7789C #9CF778
tetradic
#789CF7 #F778DC #F7D378 #78F794
square
#789CF7 #F778DC #F7D378 #78F794
split-complementary
#789CF7 #F79478 #DCF778
monochromatic
#0E4BE7 #3E72F4 #789CF7 #B2C6FA #E2EAFD

Accessibility & contrast

On white

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

On black

7.90
#789CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CF7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CF7#FFFFFF#000000##000000
##789CF71.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#3BB0BE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #789cf7;
/* rgb */ color: rgb(120, 156, 247);
/* oklch */ color: oklch(70.6% 0.140 266.5);
Tailwind
colors: {
  custom: {
    50: '#a6b8fa',
    500: '#789cf7',
    950: '#000000',
  },
}
SCSS
$custom: #789cf7;
$custom-light: #a6b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#789cf7",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 247
  },
  "hsl": {
    "h": 222.992,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70551,
    "c": 0.13965,
    "h": 266.5
  },
  "luminance": 0.34485
}

Semantic roles & 50–950 ramp

primary
#789CF7
secondary
#F5ECD5
accent
#A400E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #789CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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