#7897CB#7897CB

#7897CB is a light, moderate blue. Relative luminance 0.304; OKLCH L 67.3% C 0.085 H 260.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7897CB
RGBrgb(120, 151, 203)
HSLhsl(218, 44%, 63%)
HSVhsv(218, 41%, 80%)
CMYKcmyk(40.9%, 25.6%, 0%, 20.4%)
CIE-LABlab(62.03, 2.54, -30.16)
CIE-LCHlch(62.03, 30.27, 274.81°)
OKLaboklab(67.33% -0.014 -0.084)
OKLCHoklch(67.33% 0.085 260.5)
XYZxyz(29.5884, 30.4365, 60.8041)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897CB #CBAC78
analogous
#78C0CB #7897CB #8278CB
triadic
#7897CB #CB7897 #97CB78
tetradic
#7897CB #CB78C0 #CBAC78 #78CB82
square
#7897CB #CB78C0 #CBAC78 #78CB82
split-complementary
#7897CB #CB8278 #C0CB78
monochromatic
#385991 #4C75BA #7897CB #A4B9DC #D0DBED

Accessibility & contrast

On white

2.96
#7897CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7897CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897CB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897CB#FFFFFF#000000##000000
##7897CB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACD
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#5BA2A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7897cb;
/* rgb */ color: rgb(120, 151, 203);
/* oklch */ color: oklch(67.3% 0.085 260.5);
Tailwind
colors: {
  custom: {
    50: '#a2b5db',
    500: '#7897cb',
    950: '#000000',
  },
}
SCSS
$custom: #7897cb;
$custom-light: #a2b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#7897cb",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 217.59,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.08513,
    "h": 260.5
  },
  "luminance": 0.30438
}

Semantic roles & 50–950 ramp

primary
#7897CB
secondary
#DED3C1
accent
#842EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7897CB

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

Preview Lab → · Contrast checker → · Palette generator →

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