#789DF6#789DF6

#789DF6 is a light, vivid blue. Relative luminance 0.348; OKLCH L 70.7% C 0.137 H 265.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#789DF6
RGBrgb(120, 157, 246)
HSLhsl(222, 88%, 72%)
HSVhsv(222, 51%, 96%)
CMYKcmyk(51.2%, 36.2%, 0%, 3.5%)
CIE-LABlab(65.56, 11.65, -48.43)
CIE-LCHlch(65.56, 49.81, 283.53°)
OKLaboklab(70.7% -0.0098 -0.1368)
OKLCHoklch(70.7% 0.137 265.9)
XYZxyz(36.4317, 34.7583, 91.9602)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789DF6 #F6D178
analogous
#78DCF6 #789DF6 #9278F6
triadic
#789DF6 #F6789D #9DF678
tetradic
#789DF6 #F678DC #F6D178 #78F692
square
#789DF6 #F678DC #F6D178 #78F692
split-complementary
#789DF6 #F69278 #DCF678
monochromatic
#0F4EE4 #3F73F2 #789DF6 #B1C7FA #E2EAFD

Accessibility & contrast

On white

2.64
#789DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#789DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789DF6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789DF6#FFFFFF#000000##000000
##789DF61.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5FA
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#3CB0BE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #789df6;
/* rgb */ color: rgb(120, 157, 246);
/* oklch */ color: oklch(70.7% 0.137 265.9);
Tailwind
colors: {
  custom: {
    50: '#a6b9f9',
    500: '#789df6',
    950: '#000000',
  },
}
SCSS
$custom: #789df6;
$custom-light: #a6b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#789df6",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 222.381,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.13715,
    "h": 265.9
  },
  "luminance": 0.34761
}

Semantic roles & 50–950 ramp

primary
#789DF6
secondary
#F5EBD5
accent
#A201E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #789DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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