#7989CA#7989CA

#7989CA is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.4% C 0.099 H 272.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7989CA
RGBrgb(121, 137, 202)
HSLhsl(228, 43%, 63%)
HSVhsv(228, 40%, 79%)
CMYKcmyk(40.1%, 32.2%, 0%, 20.8%)
CIE-LABlab(58.24, 10.63, -35.48)
CIE-LCHlch(58.24, 37.04, 286.68°)
OKLaboklab(64.39% 0.0048 -0.0993)
OKLCHoklch(64.39% 0.099 272.8)
XYZxyz(27.4883, 26.2193, 59.4781)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989CA #CABA79
analogous
#79B1CA #7989CA #9179CA
triadic
#7989CA #CA7989 #89CA79
tetradic
#7989CA #CA79B1 #CABA79 #79CA91
square
#7989CA #CA79B1 #CABA79 #79CA91
split-complementary
#7989CA #CA9179 #B1CA79
monochromatic
#394A90 #4D62B9 #7989CA #A5B0DB #D1D6ED

Accessibility & contrast

On white

3.36
#7989CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7989CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989CA#FFFFFF#000000##000000
##7989CA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#6C89C8
Tritanopia (blue-blind)
#5F96A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7989ca;
/* rgb */ color: rgb(121, 137, 202);
/* oklch */ color: oklch(64.4% 0.099 272.8);
Tailwind
colors: {
  custom: {
    50: '#a3abda',
    500: '#7989ca',
    950: '#000000',
  },
}
SCSS
$custom: #7989ca;
$custom-light: #a3abda;
$custom-dark: #000000;
JSON
{
  "hex": "#7989ca",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 228.148,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64386,
    "c": 0.09939,
    "h": 272.8
  },
  "luminance": 0.26221
}

Semantic roles & 50–950 ramp

primary
#7989CA
secondary
#DED8C1
accent
#9C2FB6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7989CA

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

Preview Lab → · Contrast checker → · Palette generator →

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