#789FEF#789FEF

#789FEF is a light, vivid blue. Relative luminance 0.350; OKLCH L 70.8% C 0.125 H 263.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#789FEF
RGBrgb(120, 159, 239)
HSLhsl(220, 79%, 70%)
HSVhsv(220, 50%, 94%)
CMYKcmyk(49.8%, 33.5%, 0%, 6.3%)
CIE-LABlab(65.76, 8.39, -44.28)
CIE-LCHlch(65.76, 45.06, 280.73°)
OKLaboklab(70.75% -0.0137 -0.1247)
OKLCHoklch(70.75% 0.125 263.7)
XYZxyz(35.7187, 35.0189, 86.5217)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789FEF #EFC878
analogous
#78DBEF #789FEF #8C78EF
triadic
#789FEF #EF789F #9FEF78
tetradic
#789FEF #EF78DB #EFC878 #78EF8C
square
#789FEF #EF78DB #EFC878 #78EF8C
split-complementary
#789FEF #EF8C78 #DBEF78
monochromatic
#1956D4 #4178E9 #789FEF #AFC6F5 #E4ECFC

Accessibility & contrast

On white

2.62
#789FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#789FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789FEF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789FEF#FFFFFF#000000##000000
##789FEF1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F2
Deuteranopia (green-blind)
#739BED
Tritanopia (blue-blind)
#42B0BC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #789fef;
/* rgb */ color: rgb(120, 159, 239);
/* oklch */ color: oklch(70.8% 0.125 263.7);
Tailwind
colors: {
  custom: {
    50: '#a5bbf4',
    500: '#789fef',
    950: '#000000',
  },
}
SCSS
$custom: #789fef;
$custom-light: #a5bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#789fef",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 220.336,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.12544,
    "h": 263.7
  },
  "luminance": 0.35021
}

Semantic roles & 50–950 ramp

primary
#789FEF
secondary
#F2E7D1
accent
#970ADB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #789FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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