#789EFE#789EFE

#789EFE is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.3% C 0.147 H 266.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#789EFE
RGBrgb(120, 158, 254)
HSLhsl(223, 99%, 73%)
HSVhsv(223, 53%, 100%)
CMYKcmyk(52.8%, 37.8%, 0%, 0.4%)
CIE-LABlab(66.21, 13.51, -51.76)
CIE-LCHlch(66.21, 53.50, 284.63°)
OKLaboklab(71.33% -0.0092 -0.1465)
OKLCHoklch(71.33% 0.147 266.4)
XYZxyz(37.8560, 35.5998, 98.6233)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789EFE #FED878
analogous
#78E1FE #789EFE #9578FE
triadic
#789EFE #FE789E #9EFE78
tetradic
#789EFE #FE78E1 #FED878 #78FE95
square
#789EFE #FE78E1 #FED878 #78FE95
split-complementary
#789EFE #FE9578 #E1FE78
monochromatic
#0248FA #3B72FE #789EFE #B5CAFE #E1E9FF

Accessibility & contrast

On white

2.59
#789EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#789EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #789EFE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789EFE#FFFFFF#000000##000000
##789EFE1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#689BFC
Tritanopia (blue-blind)
#32B3C2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #789efe;
/* rgb */ color: rgb(120, 158, 254);
/* oklch */ color: oklch(71.3% 0.147 266.4);
Tailwind
colors: {
  custom: {
    50: '#a7baff',
    500: '#789efe',
    950: '#000000',
  },
}
SCSS
$custom: #789efe;
$custom-light: #a7baff;
$custom-dark: #000000;
JSON
{
  "hex": "#789efe",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 222.985,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71334,
    "c": 0.14681,
    "h": 266.4
  },
  "luminance": 0.35603
}

Semantic roles & 50–950 ramp

primary
#789EFE
secondary
#F7EDD4
accent
#A400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #789EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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