#7989F2#7989F2

#7989F2 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.5% C 0.156 H 274.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7989F2
RGBrgb(121, 137, 242)
HSLhsl(232, 82%, 71%)
HSVhsv(232, 50%, 95%)
CMYKcmyk(50%, 43.4%, 0%, 5.1%)
CIE-LABlab(60.22, 22.38, -54.70)
CIE-LCHlch(60.22, 59.10, 292.25°)
OKLaboklab(66.55% 0.0131 -0.1552)
OKLCHoklch(66.55% 0.156 274.8)
XYZxyz(32.8528, 28.3651, 87.7311)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989F2 #F2E279
analogous
#79C5F2 #7989F2 #A579F2
triadic
#7989F2 #F27989 #89F279
tetradic
#7989F2 #F279C5 #F2E279 #79F2A5
square
#7989F2 #F279C5 #F2E279 #79F2A5
split-complementary
#7989F2 #F2A579 #C5F279
monochromatic
#152FDB #4158ED #7989F2 #B1BAF7 #E3E6FC

Accessibility & contrast

On white

3.15
#7989F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7989F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989F2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989F2#FFFFFF#000000##000000
##7989F21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#518CF0
Tritanopia (blue-blind)
#469FB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7989f2;
/* rgb */ color: rgb(121, 137, 242);
/* oklch */ color: oklch(66.5% 0.156 274.8);
Tailwind
colors: {
  custom: {
    50: '#a6abf7',
    500: '#7989f2',
    950: '#000000',
  },
}
SCSS
$custom: #7989f2;
$custom-light: #a6abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7989f2",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 232.066,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.1558,
    "h": 274.8
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#7989F2
secondary
#F3EFD3
accent
#C207DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989F2

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

Preview Lab → · Contrast checker → · Palette generator →

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