#789DEC#789DEC

#789DEC is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.2% C 0.124 H 264.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#789DEC
RGBrgb(120, 157, 236)
HSLhsl(221, 75%, 70%)
HSVhsv(221, 49%, 93%)
CMYKcmyk(49.2%, 33.5%, 0%, 7.5%)
CIE-LABlab(65.09, 8.64, -43.69)
CIE-LCHlch(65.09, 44.53, 281.19°)
OKLaboklab(70.18% -0.0122 -0.123)
OKLCHoklch(70.18% 0.124 264.4)
XYZxyz(34.9380, 34.1608, 84.0933)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789DEC #ECC778
analogous
#78D7EC #789DEC #8D78EC
triadic
#789DEC #EC789D #9DEC78
tetradic
#789DEC #EC78D7 #ECC778 #78EC8D
square
#789DEC #EC78D7 #ECC778 #78EC8D
split-complementary
#789DEC #EC8D78 #D7EC78
monochromatic
#1D55CD #4276E4 #789DEC #AEC4F4 #E3EBFB

Accessibility & contrast

On white

2.68
#789DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#789DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789DEC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789DEC#FFFFFF#000000##000000
##789DEC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#45AEBA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #789dec;
/* rgb */ color: rgb(120, 157, 236);
/* oklch */ color: oklch(70.2% 0.124 264.4);
Tailwind
colors: {
  custom: {
    50: '#a5b9f2',
    500: '#789dec',
    950: '#000000',
  },
}
SCSS
$custom: #789dec;
$custom-light: #a5b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#789dec",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 220.862,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70184,
    "c": 0.12359,
    "h": 264.4
  },
  "luminance": 0.34163
}

Semantic roles & 50–950 ramp

primary
#789DEC
secondary
#F0E6D0
accent
#970ED7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #789DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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