#7989FC#7989FC

#7989FC is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.1% C 0.169 H 274.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7989FC
RGBrgb(121, 137, 252)
HSLhsl(233, 96%, 73%)
HSVhsv(233, 52%, 99%)
CMYKcmyk(52%, 45.6%, 0%, 1.2%)
CIE-LABlab(60.77, 25.42, -59.33)
CIE-LCHlch(60.77, 64.55, 293.19°)
OKLaboklab(67.14% 0.0146 -0.1688)
OKLCHoklch(67.14% 0.169 274.9)
XYZxyz(34.3959, 28.9823, 95.8583)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989FC #FCEC79
analogous
#79CAFC #7989FC #AA79FC
triadic
#7989FC #FC7989 #89FC79
tetradic
#7989FC #FC79CA #FCEC79 #79FCAA
square
#7989FC #FC79CA #FCEC79 #79FCAA
split-complementary
#7989FC #FCAA79 #CAFC79
monochromatic
#0523F5 #3D54FB #7989FC #B5BEFD #E1E5FE

Accessibility & contrast

On white

3.09
#7989FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7989FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989FC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989FC#FFFFFF#000000##000000
##7989FC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#478DFA
Tritanopia (blue-blind)
#3DA2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7989fc;
/* rgb */ color: rgb(121, 137, 252);
/* oklch */ color: oklch(67.1% 0.169 274.9);
Tailwind
colors: {
  custom: {
    50: '#a8abfe',
    500: '#7989fc',
    950: '#000000',
  },
}
SCSS
$custom: #7989fc;
$custom-light: #a8abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7989fc",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 232.672,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.16947,
    "h": 274.9
  },
  "luminance": 0.28985
}

Semantic roles & 50–950 ramp

primary
#7989FC
secondary
#F7F2D4
accent
#C900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7989FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7989FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva