#789DFA#789DFA

#789DFA is a light, vivid blue. Relative luminance 0.350; OKLCH L 70.9% C 0.143 H 266.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#789DFA
RGBrgb(120, 157, 250)
HSLhsl(223, 93%, 73%)
HSVhsv(223, 52%, 98%)
CMYKcmyk(52%, 37.2%, 0%, 2%)
CIE-LABlab(65.75, 12.87, -50.31)
CIE-LCHlch(65.75, 51.93, 284.35°)
OKLaboklab(70.92% -0.0089 -0.1423)
OKLCHoklch(70.92% 0.143 266.4)
XYZxyz(37.0523, 35.0065, 95.2284)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789DFA #FAD578
analogous
#78DEFA #789DFA #9478FA
triadic
#789DFA #FA789D #9DFA78
tetradic
#789DFA #FA78DE #FAD578 #78FA94
square
#789DFA #FA78DE #FAD578 #78FA94
split-complementary
#789DFA #FA9478 #DEFA78
monochromatic
#094AEF #3D72F8 #789DFA #B3C8FC #E1EAFE

Accessibility & contrast

On white

2.62
#789DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#789DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789DFA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789DFA#FFFFFF#000000##000000
##789DFA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#38B1C0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #789dfa;
/* rgb */ color: rgb(120, 157, 250);
/* oklch */ color: oklch(70.9% 0.143 266.4);
Tailwind
colors: {
  custom: {
    50: '#a6b9fc',
    500: '#789dfa',
    950: '#000000',
  },
}
SCSS
$custom: #789dfa;
$custom-light: #a6b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#789dfa",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 222.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70916,
    "c": 0.14256,
    "h": 266.4
  },
  "luminance": 0.35009
}

Semantic roles & 50–950 ramp

primary
#789DFA
secondary
#F6EDD5
accent
#A400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #789DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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