#789FF2#789FF2

#789FF2 is a light, vivid blue. Relative luminance 0.352; OKLCH L 70.9% C 0.129 H 264.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#789FF2
RGBrgb(120, 159, 242)
HSLhsl(221, 82%, 71%)
HSVhsv(221, 50%, 95%)
CMYKcmyk(50.4%, 34.3%, 0%, 5.1%)
CIE-LABlab(65.90, 9.29, -45.70)
CIE-LCHlch(65.90, 46.64, 281.49°)
OKLaboklab(70.91% -0.013 -0.1288)
OKLCHoklch(70.91% 0.129 264.2)
XYZxyz(36.1656, 35.1976, 88.8753)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789FF2 #F2CB78
analogous
#78DCF2 #789FF2 #8E78F2
triadic
#789FF2 #F2789F #9FF278
tetradic
#789FF2 #F278DC #F2CB78 #78F28E
square
#789FF2 #F278DC #F2CB78 #78F28E
split-complementary
#789FF2 #F28E78 #DCF278
monochromatic
#1554DB #4077ED #789FF2 #B0C7F7 #E3EBFC

Accessibility & contrast

On white

2.61
#789FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#789FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789FF2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789FF2#FFFFFF#000000##000000
##789FF21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#3FB1BD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #789ff2;
/* rgb */ color: rgb(120, 159, 242);
/* oklch */ color: oklch(70.9% 0.129 264.2);
Tailwind
colors: {
  custom: {
    50: '#a5bbf6',
    500: '#789ff2',
    950: '#000000',
  },
}
SCSS
$custom: #789ff2;
$custom-light: #a5bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#789ff2",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 220.82,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.12949,
    "h": 264.2
  },
  "luminance": 0.352
}

Semantic roles & 50–950 ramp

primary
#789FF2
secondary
#F3E9D3
accent
#9A07DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #789FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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