#7898CD#7898CD

#7898CD is a light, moderate blue. Relative luminance 0.309; OKLCH L 67.6% C 0.087 H 260.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7898CD
RGBrgb(120, 152, 205)
HSLhsl(217, 46%, 64%)
HSVhsv(217, 41%, 80%)
CMYKcmyk(41.5%, 25.9%, 0%, 19.6%)
CIE-LABlab(62.39, 2.53, -30.73)
CIE-LCHlch(62.39, 30.83, 274.70°)
OKLaboklab(67.63% -0.0147 -0.0856)
OKLCHoklch(67.63% 0.087 260.3)
XYZxyz(29.9899, 30.8557, 62.1213)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898CD #CDAD78
analogous
#78C2CD #7898CD #8278CD
triadic
#7898CD #CD7898 #98CD78
tetradic
#7898CD #CD78C2 #CDAD78 #78CD82
square
#7898CD #CD78C2 #CDAD78 #78CD82
split-complementary
#7898CD #CD8278 #C2CD78
monochromatic
#375A94 #4B76BC #7898CD #A5BADE #D1DCEE

Accessibility & contrast

On white

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

On black

7.17
#7898CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898CD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898CD#FFFFFF#000000##000000
##7898CD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCF
Deuteranopia (green-blind)
#7C93CC
Tritanopia (blue-blind)
#5AA3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7898cd;
/* rgb */ color: rgb(120, 152, 205);
/* oklch */ color: oklch(67.6% 0.087 260.3);
Tailwind
colors: {
  custom: {
    50: '#a2b6dc',
    500: '#7898cd',
    950: '#000000',
  },
}
SCSS
$custom: #7898cd;
$custom-light: #a2b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7898cd",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 217.412,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67633,
    "c": 0.08684,
    "h": 260.3
  },
  "luminance": 0.30857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7898CD

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

Preview Lab → · Contrast checker → · Palette generator →

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