#7899CC#7899CC

#7899CC is a light, moderate blue. Relative luminance 0.311; OKLCH L 67.8% C 0.085 H 258.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7899CC
RGBrgb(120, 153, 204)
HSLhsl(216, 45%, 64%)
HSVhsv(216, 41%, 80%)
CMYKcmyk(41.2%, 25%, 0%, 20%)
CIE-LABlab(62.62, 1.68, -29.81)
CIE-LCHlch(62.62, 29.86, 273.22°)
OKLaboklab(67.8% -0.0162 -0.0829)
OKLCHoklch(67.8% 0.085 258.9)
XYZxyz(30.0326, 31.1335, 61.5419)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899CC #CCAB78
analogous
#78C3CC #7899CC #8178CC
triadic
#7899CC #CC7899 #99CC78
tetradic
#7899CC #CC78C3 #CCAB78 #78CC81
square
#7899CC #CC78C3 #CCAB78 #78CC81
split-complementary
#7899CC #CC8178 #C3CC78
monochromatic
#375B92 #4C77BB #7899CC #A4BBDD #D1DCEE

Accessibility & contrast

On white

2.91
#7899CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7899CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899CC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899CC#FFFFFF#000000##000000
##7899CC1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCE
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#5AA4AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7899cc;
/* rgb */ color: rgb(120, 153, 204);
/* oklch */ color: oklch(67.8% 0.085 258.9);
Tailwind
colors: {
  custom: {
    50: '#a2b6db',
    500: '#7899cc',
    950: '#000000',
  },
}
SCSS
$custom: #7899cc;
$custom-light: #a2b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#7899cc",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 204
  },
  "hsl": {
    "h": 216.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67803,
    "c": 0.08453,
    "h": 258.9
  },
  "luminance": 0.31135
}

Semantic roles & 50–950 ramp

primary
#7899CC
secondary
#DFD3C1
accent
#822DB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7899CC

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

Preview Lab → · Contrast checker → · Palette generator →

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