#789CEE#789CEE

#789CEE is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.1% C 0.127 H 265.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#789CEE
RGBrgb(120, 156, 238)
HSLhsl(222, 78%, 70%)
HSVhsv(222, 50%, 93%)
CMYKcmyk(49.6%, 34.5%, 0%, 6.7%)
CIE-LABlab(64.92, 9.82, -45.06)
CIE-LCHlch(64.92, 46.12, 282.29°)
OKLaboklab(70.08% -0.0105 -0.127)
OKLCHoklch(70.08% 0.127 265.3)
XYZxyz(35.0617, 33.9407, 85.5760)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789CEE #EECA78
analogous
#78D7EE #789CEE #8F78EE
triadic
#789CEE #EE789C #9CEE78
tetradic
#789CEE #EE78D7 #EECA78 #78EE8F
square
#789CEE #EE78D7 #EECA78 #78EE8F
split-complementary
#789CEE #EE8F78 #D7EE78
monochromatic
#1A52D1 #4274E7 #789CEE #AEC4F5 #E4EBFC

Accessibility & contrast

On white

2.70
#789CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#789CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789CEE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789CEE#FFFFFF#000000##000000
##789CEE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F1
Deuteranopia (green-blind)
#6F99EC
Tritanopia (blue-blind)
#44AEBA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #789cee;
/* rgb */ color: rgb(120, 156, 238);
/* oklch */ color: oklch(70.1% 0.127 265.3);
Tailwind
colors: {
  custom: {
    50: '#a5b8f4',
    500: '#789cee',
    950: '#000000',
  },
}
SCSS
$custom: #789cee;
$custom-light: #a5b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#789cee",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 221.695,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.12742,
    "h": 265.3
  },
  "luminance": 0.33943
}

Semantic roles & 50–950 ramp

primary
#789CEE
secondary
#F1E7D1
accent
#9B0CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #789CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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