#789DF2#789DF2

#789DF2 is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.5% C 0.132 H 265.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#789DF2
RGBrgb(120, 157, 242)
HSLhsl(222, 82%, 71%)
HSVhsv(222, 50%, 95%)
CMYKcmyk(50.4%, 35.1%, 0%, 5.1%)
CIE-LABlab(65.37, 10.44, -46.54)
CIE-LCHlch(65.37, 47.70, 282.65°)
OKLaboklab(70.49% -0.0107 -0.1313)
OKLCHoklch(70.49% 0.132 265.3)
XYZxyz(35.8244, 34.5154, 88.7615)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789DF2 #F2CD78
analogous
#78DAF2 #789DF2 #9078F2
triadic
#789DF2 #F2789D #9DF278
tetradic
#789DF2 #F278DA #F2CD78 #78F290
square
#789DF2 #F278DA #F2CD78 #78F290
split-complementary
#789DF2 #F29078 #DAF278
monochromatic
#1551DB #4074ED #789DF2 #B0C6F7 #E3EBFC

Accessibility & contrast

On white

2.66
#789DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#789DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789DF2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789DF2#FFFFFF#000000##000000
##789DF21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F5
Deuteranopia (green-blind)
#6E9AF0
Tritanopia (blue-blind)
#40AFBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #789df2;
/* rgb */ color: rgb(120, 157, 242);
/* oklch */ color: oklch(70.5% 0.132 265.3);
Tailwind
colors: {
  custom: {
    50: '#a5b9f7',
    500: '#789df2',
    950: '#000000',
  },
}
SCSS
$custom: #789df2;
$custom-light: #a5b9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#789df2",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 221.803,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70493,
    "c": 0.13173,
    "h": 265.3
  },
  "luminance": 0.34518
}

Semantic roles & 50–950 ramp

primary
#789DF2
secondary
#F3E9D3
accent
#9D07DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #789DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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