#7898CC#7898CC

#7898CC is a light, moderate blue. Relative luminance 0.308; OKLCH L 67.6% C 0.085 H 259.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7898CC
RGBrgb(120, 152, 204)
HSLhsl(217, 45%, 64%)
HSVhsv(217, 41%, 80%)
CMYKcmyk(41.2%, 25.5%, 0%, 20%)
CIE-LABlab(62.34, 2.25, -30.24)
CIE-LCHlch(62.34, 30.32, 274.25°)
OKLaboklab(67.59% -0.015 -0.0842)
OKLCHoklch(67.59% 0.085 259.9)
XYZxyz(29.8696, 30.8075, 61.4876)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898CC #CCAC78
analogous
#78C2CC #7898CC #8278CC
triadic
#7898CC #CC7898 #98CC78
tetradic
#7898CC #CC78C2 #CCAC78 #78CC82
square
#7898CC #CC78C2 #CCAC78 #78CC82
split-complementary
#7898CC #CC8278 #C2CC78
monochromatic
#375A92 #4C76BB #7898CC #A4BADD #D1DCEE

Accessibility & contrast

On white

2.93
#7898CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7898CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898CC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898CC#FFFFFF#000000##000000
##7898CC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCE
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#5BA3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7898cc;
/* rgb */ color: rgb(120, 152, 204);
/* oklch */ color: oklch(67.6% 0.085 259.9);
Tailwind
colors: {
  custom: {
    50: '#a2b6db',
    500: '#7898cc',
    950: '#000000',
  },
}
SCSS
$custom: #7898cc;
$custom-light: #a2b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#7898cc",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 217.143,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67588,
    "c": 0.08549,
    "h": 259.9
  },
  "luminance": 0.30809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7898CC

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

Preview Lab → · Contrast checker → · Palette generator →

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