#789DF8#789DF8

#789DF8 is a light, vivid blue. Relative luminance 0.349; OKLCH L 70.8% C 0.140 H 266.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#789DF8
RGBrgb(120, 157, 248)
HSLhsl(223, 90%, 72%)
HSVhsv(223, 52%, 97%)
CMYKcmyk(51.6%, 36.7%, 0%, 2.7%)
CIE-LABlab(65.66, 12.26, -49.37)
CIE-LCHlch(65.66, 50.87, 283.95°)
OKLaboklab(70.81% -0.0093 -0.1395)
OKLCHoklch(70.81% 0.14 266.2)
XYZxyz(36.7404, 34.8817, 93.5855)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789DF8 #F8D378
analogous
#78DDF8 #789DF8 #9378F8
triadic
#789DF8 #F8789D #9DF878
tetradic
#789DF8 #F878DD #F8D378 #78F893
square
#789DF8 #F878DD #F8D378 #78F893
split-complementary
#789DF8 #F89378 #DDF878
monochromatic
#0C4CE9 #3E73F5 #789DF8 #B2C7FB #E2EAFD

Accessibility & contrast

On white

2.63
#789DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#789DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789DF8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789DF8#FFFFFF#000000##000000
##789DF81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#3AB1BF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #789df8;
/* rgb */ color: rgb(120, 157, 248);
/* oklch */ color: oklch(70.8% 0.140 266.2);
Tailwind
colors: {
  custom: {
    50: '#a6b9fb',
    500: '#789df8',
    950: '#000000',
  },
}
SCSS
$custom: #789df8;
$custom-light: #a6b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#789df8",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 222.656,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70809,
    "c": 0.13985,
    "h": 266.2
  },
  "luminance": 0.34884
}

Semantic roles & 50–950 ramp

primary
#789DF8
secondary
#F6ECD5
accent
#A300E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #789DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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