#7897CE#7897CE

#7897CE is a light, moderate blue. Relative luminance 0.306; OKLCH L 67.5% C 0.089 H 261.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7897CE
RGBrgb(120, 151, 206)
HSLhsl(218, 47%, 64%)
HSVhsv(218, 42%, 81%)
CMYKcmyk(41.7%, 26.7%, 0%, 19.2%)
CIE-LABlab(62.15, 3.38, -31.65)
CIE-LCHlch(62.15, 31.83, 276.09°)
OKLaboklab(67.47% -0.0131 -0.0882)
OKLCHoklch(67.47% 0.089 261.6)
XYZxyz(29.9494, 30.5809, 62.7051)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897CE #CEAF78
analogous
#78C2CE #7897CE #8478CE
triadic
#7897CE #CE7897 #97CE78
tetradic
#7897CE #CE78C2 #CEAF78 #78CE84
square
#7897CE #CE78C2 #CEAF78 #78CE84
split-complementary
#7897CE #CE8478 #C2CE78
monochromatic
#365995 #4B74BE #7897CE #A5BADE #D2DCEF

Accessibility & contrast

On white

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

On black

7.12
#7897CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897CE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897CE#FFFFFF#000000##000000
##7897CE1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD0
Deuteranopia (green-blind)
#7A93CD
Tritanopia (blue-blind)
#5AA3AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7897ce;
/* rgb */ color: rgb(120, 151, 206);
/* oklch */ color: oklch(67.5% 0.089 261.6);
Tailwind
colors: {
  custom: {
    50: '#a2b5dd',
    500: '#7897ce',
    950: '#000000',
  },
}
SCSS
$custom: #7897ce;
$custom-light: #a2b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ce",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 218.372,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.0892,
    "h": 261.6
  },
  "luminance": 0.30583
}

Semantic roles & 50–950 ramp

primary
#7897CE
secondary
#E0D5C2
accent
#872CBA
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7897CE

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

Preview Lab → · Contrast checker → · Palette generator →

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