#789AFE#789AFE

#789AFE is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.5% C 0.151 H 268.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#789AFE
RGBrgb(120, 154, 254)
HSLhsl(225, 99%, 73%)
HSVhsv(225, 53%, 100%)
CMYKcmyk(52.8%, 39.4%, 0%, 0.4%)
CIE-LABlab(65.17, 15.83, -53.42)
CIE-LCHlch(65.17, 55.72, 286.51°)
OKLaboklab(70.53% -0.0048 -0.1514)
OKLCHoklch(70.53% 0.151 268.2)
XYZxyz(37.1848, 34.2574, 98.3996)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789AFE #FEDC78
analogous
#78DDFE #789AFE #9978FE
triadic
#789AFE #FE789A #9AFE78
tetradic
#789AFE #FE78DD #FEDC78 #78FE99
square
#789AFE #FE78DD #FEDC78 #78FE99
split-complementary
#789AFE #FE9978 #DDFE78
monochromatic
#0241FA #3B6DFE #789AFE #B5C7FE #E1E8FF

Accessibility & contrast

On white

2.67
#789AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#789AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789AFE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789AFE#FFFFFF#000000##000000
##789AFE1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A5FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#34B0C0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #789afe;
/* rgb */ color: rgb(120, 154, 254);
/* oklch */ color: oklch(70.5% 0.151 268.2);
Tailwind
colors: {
  custom: {
    50: '#a7b7ff',
    500: '#789afe',
    950: '#000000',
  },
}
SCSS
$custom: #789afe;
$custom-light: #a7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#789afe",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 224.776,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70527,
    "c": 0.15147,
    "h": 268.2
  },
  "luminance": 0.3426
}

Semantic roles & 50–950 ramp

primary
#789AFE
secondary
#F7EED4
accent
#AB00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #789AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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