#7899CF#7899CF

#7899CF is a light, moderate blue. Relative luminance 0.313; OKLCH L 67.9% C 0.089 H 260.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7899CF
RGBrgb(120, 153, 207)
HSLhsl(217, 48%, 64%)
HSVhsv(217, 42%, 81%)
CMYKcmyk(42%, 26.1%, 0%, 18.8%)
CIE-LABlab(62.74, 2.52, -31.29)
CIE-LCHlch(62.74, 31.40, 274.60°)
OKLaboklab(67.94% -0.0153 -0.0872)
OKLCHoklch(67.94% 0.089 260)
XYZxyz(30.3958, 31.2788, 63.4552)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899CF #CFAE78
analogous
#78C5CF #7899CF #8378CF
triadic
#7899CF #CF7899 #99CF78
tetradic
#7899CF #CF78C5 #CFAE78 #78CF83
square
#7899CF #CF78C5 #CFAE78 #78CF83
split-complementary
#7899CF #CF8378 #C5CF78
monochromatic
#365B97 #4B77BF #7899CF #A5BBDF #D2DDEF

Accessibility & contrast

On white

2.89
#7899CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7899CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899CF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899CF#FFFFFF#000000##000000
##7899CF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD1
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#59A5AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7899cf;
/* rgb */ color: rgb(120, 153, 207);
/* oklch */ color: oklch(67.9% 0.089 260.0);
Tailwind
colors: {
  custom: {
    50: '#a2b6de',
    500: '#7899cf',
    950: '#000000',
  },
}
SCSS
$custom: #7899cf;
$custom-light: #a2b6de;
$custom-dark: #000000;
JSON
{
  "hex": "#7899cf",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 217.241,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.08854,
    "h": 260
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#7899CF
secondary
#E1D5C2
accent
#842BBB
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7899CF

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

Preview Lab → · Contrast checker → · Palette generator →

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