#7899CD#7899CD

#7899CD is a light, moderate blue. Relative luminance 0.312; OKLCH L 67.8% C 0.086 H 259.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7899CD
RGBrgb(120, 153, 205)
HSLhsl(217, 46%, 64%)
HSVhsv(217, 41%, 80%)
CMYKcmyk(41.5%, 25.4%, 0%, 19.6%)
CIE-LABlab(62.66, 1.96, -30.30)
CIE-LCHlch(62.66, 30.37, 273.69°)
OKLaboklab(67.85% -0.0159 -0.0844)
OKLCHoklch(67.85% 0.086 259.3)
XYZxyz(30.1529, 31.1816, 62.1756)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899CD #CDAC78
analogous
#78C3CD #7899CD #8178CD
triadic
#7899CD #CD7899 #99CD78
tetradic
#7899CD #CD78C3 #CDAC78 #78CD81
square
#7899CD #CD78C3 #CDAC78 #78CD81
split-complementary
#7899CD #CD8178 #C3CD78
monochromatic
#375B94 #4B77BC #7899CD #A5BBDE #D1DCEE

Accessibility & contrast

On white

2.90
#7899CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7899CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899CD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899CD#FFFFFF#000000##000000
##7899CD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#5AA4AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7899cd;
/* rgb */ color: rgb(120, 153, 205);
/* oklch */ color: oklch(67.8% 0.086 259.3);
Tailwind
colors: {
  custom: {
    50: '#a2b6dc',
    500: '#7899cd',
    950: '#000000',
  },
}
SCSS
$custom: #7899cd;
$custom-light: #a2b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7899cd",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 216.706,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.08586,
    "h": 259.3
  },
  "luminance": 0.31183
}

Semantic roles & 50–950 ramp

primary
#7899CD
secondary
#DFD4C1
accent
#822CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7899CD

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

Preview Lab → · Contrast checker → · Palette generator →

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