#789EF8#789EF8

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

Color values

HEX#789EF8
RGBrgb(120, 158, 248)
HSLhsl(222, 90%, 72%)
HSVhsv(222, 52%, 97%)
CMYKcmyk(51.6%, 36.3%, 0%, 2.7%)
CIE-LABlab(65.92, 11.68, -48.95)
CIE-LCHlch(65.92, 50.33, 283.42°)
OKLaboklab(71.01% -0.0105 -0.1383)
OKLCHoklch(71.01% 0.139 265.7)
XYZxyz(36.9102, 35.2215, 93.6422)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789EF8 #F8D278
analogous
#78DEF8 #789EF8 #9278F8
triadic
#789EF8 #F8789E #9EF878
tetradic
#789EF8 #F878DE #F8D278 #78F892
square
#789EF8 #F878DE #F8D278 #78F892
split-complementary
#789EF8 #F89278 #DEF878
monochromatic
#0C4EE9 #3E74F5 #789EF8 #B2C8FB #E2EAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789EF8#FFFFFF#000000##000000
##789EF81.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)
#7AA6FC
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#3AB1BF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #789ef8;
/* rgb */ color: rgb(120, 158, 248);
/* oklch */ color: oklch(71.0% 0.139 265.7);
Tailwind
colors: {
  custom: {
    50: '#a6bafb',
    500: '#789ef8',
    950: '#000000',
  },
}
SCSS
$custom: #789ef8;
$custom-light: #a6bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#789ef8",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 222.188,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71013,
    "c": 0.13872,
    "h": 265.7
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #789EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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