#789DEF#789DEF

#789DEF is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.3% C 0.128 H 264.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#789DEF
RGBrgb(120, 157, 239)
HSLhsl(221, 79%, 70%)
HSVhsv(221, 50%, 94%)
CMYKcmyk(49.8%, 34.3%, 0%, 6.3%)
CIE-LABlab(65.23, 9.54, -45.12)
CIE-LCHlch(65.23, 46.11, 281.94°)
OKLaboklab(70.34% -0.0114 -0.1272)
OKLCHoklch(70.34% 0.128 264.9)
XYZxyz(35.3775, 34.3366, 86.4080)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789DEF #EFCA78
analogous
#78D8EF #789DEF #8F78EF
triadic
#789DEF #EF789D #9DEF78
tetradic
#789DEF #EF78D8 #EFCA78 #78EF8F
square
#789DEF #EF78D8 #EFCA78 #78EF8F
split-complementary
#789DEF #EF8F78 #D8EF78
monochromatic
#1953D4 #4175E9 #789DEF #AFC5F5 #E4EBFC

Accessibility & contrast

On white

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

On black

7.87
#789DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789DEF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789DEF#FFFFFF#000000##000000
##789DEF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#43AFBB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #789def;
/* rgb */ color: rgb(120, 157, 239);
/* oklch */ color: oklch(70.3% 0.128 264.9);
Tailwind
colors: {
  custom: {
    50: '#a5b9f4',
    500: '#789def',
    950: '#000000',
  },
}
SCSS
$custom: #789def;
$custom-light: #a5b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#789def",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 239
  },
  "hsl": {
    "h": 221.345,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.12766,
    "h": 264.9
  },
  "luminance": 0.34339
}

Semantic roles & 50–950 ramp

primary
#789DEF
secondary
#F2E8D1
accent
#9A0ADB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #789DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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