#7897CD#7897CD

#7897CD is a light, moderate blue. Relative luminance 0.305; OKLCH L 67.4% C 0.088 H 261.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7897CD
RGBrgb(120, 151, 205)
HSLhsl(218, 46%, 64%)
HSVhsv(218, 41%, 80%)
CMYKcmyk(41.5%, 26.3%, 0%, 19.6%)
CIE-LABlab(62.11, 3.10, -31.16)
CIE-LCHlch(62.11, 31.31, 275.68°)
OKLaboklab(67.42% -0.0134 -0.0868)
OKLCHoklch(67.42% 0.088 261.2)
XYZxyz(29.8283, 30.5324, 62.0674)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897CD #CDAE78
analogous
#78C1CD #7897CD #8378CD
triadic
#7897CD #CD7897 #97CD78
tetradic
#7897CD #CD78C1 #CDAE78 #78CD83
square
#7897CD #CD78C1 #CDAE78 #78CD83
split-complementary
#7897CD #CD8378 #C1CD78
monochromatic
#375994 #4B75BC #7897CD #A5B9DE #D1DCEE

Accessibility & contrast

On white

2.95
#7897CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7897CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897CD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897CD#FFFFFF#000000##000000
##7897CD1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACF
Deuteranopia (green-blind)
#7A93CC
Tritanopia (blue-blind)
#5AA2AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7897cd;
/* rgb */ color: rgb(120, 151, 205);
/* oklch */ color: oklch(67.4% 0.088 261.2);
Tailwind
colors: {
  custom: {
    50: '#a2b5dc',
    500: '#7897cd',
    950: '#000000',
  },
}
SCSS
$custom: #7897cd;
$custom-light: #a2b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7897cd",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 218.118,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67419,
    "c": 0.08784,
    "h": 261.2
  },
  "luminance": 0.30534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7897CD

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

Preview Lab → · Contrast checker → · Palette generator →

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