#7989CF#7989CF

#7989CF is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.6% C 0.107 H 273.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7989CF
RGBrgb(121, 137, 207)
HSLhsl(229, 47%, 64%)
HSVhsv(229, 42%, 81%)
CMYKcmyk(41.5%, 33.8%, 0%, 18.8%)
CIE-LABlab(58.47, 12.05, -37.95)
CIE-LCHlch(58.47, 39.81, 287.62°)
OKLaboklab(64.63% 0.0061 -0.1064)
OKLCHoklch(64.63% 0.107 273.3)
XYZxyz(28.0899, 26.4599, 62.6466)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989CF #CFBF79
analogous
#79B4CF #7989CF #9479CF
triadic
#7989CF #CF7989 #89CF79
tetradic
#7989CF #CF79B4 #CFBF79 #79CF94
square
#7989CF #CF79B4 #CFBF79 #79CF94
split-complementary
#7989CF #CF9479 #B4CF79
monochromatic
#364897 #4C61BF #7989CF #A6B1DF #D3D8EF

Accessibility & contrast

On white

3.34
#7989CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7989CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989CF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989CF#FFFFFF#000000##000000
##7989CF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#6A89CD
Tritanopia (blue-blind)
#5D97A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7989cf;
/* rgb */ color: rgb(121, 137, 207);
/* oklch */ color: oklch(64.6% 0.107 273.3);
Tailwind
colors: {
  custom: {
    50: '#a3abde',
    500: '#7989cf',
    950: '#000000',
  },
}
SCSS
$custom: #7989cf;
$custom-light: #a3abde;
$custom-dark: #000000;
JSON
{
  "hex": "#7989cf",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 228.837,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64635,
    "c": 0.10656,
    "h": 273.3
  },
  "luminance": 0.26461
}

Semantic roles & 50–950 ramp

primary
#7989CF
secondary
#E1DBC3
accent
#A02BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7989CF

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

Preview Lab → · Contrast checker → · Palette generator →

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