#7897CF#7897CF

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

Color values

HEX#7897CF
RGBrgb(120, 151, 207)
HSLhsl(219, 48%, 64%)
HSVhsv(219, 42%, 81%)
CMYKcmyk(42%, 27.1%, 0%, 18.8%)
CIE-LABlab(62.19, 3.66, -32.15)
CIE-LCHlch(62.19, 32.35, 276.50°)
OKLaboklab(67.51% -0.0128 -0.0896)
OKLCHoklch(67.51% 0.091 261.9)
XYZxyz(30.0712, 30.6296, 63.3470)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897CF #CFB078
analogous
#78C3CF #7897CF #8578CF
triadic
#7897CF #CF7897 #97CF78
tetradic
#7897CF #CF78C3 #CFB078 #78CF85
square
#7897CF #CF78C3 #CFB078 #78CF85
split-complementary
#7897CF #CF8578 #C3CF78
monochromatic
#365897 #4B74BF #7897CF #A5BADF #D2DDEF

Accessibility & contrast

On white

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

On black

7.13
#7897CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897CF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897CF#FFFFFF#000000##000000
##7897CF1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD1
Deuteranopia (green-blind)
#7A93CE
Tritanopia (blue-blind)
#59A3AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7897cf;
/* rgb */ color: rgb(120, 151, 207);
/* oklch */ color: oklch(67.5% 0.091 261.9);
Tailwind
colors: {
  custom: {
    50: '#a2b5de',
    500: '#7897cf',
    950: '#000000',
  },
}
SCSS
$custom: #7897cf;
$custom-light: #a2b5de;
$custom-dark: #000000;
JSON
{
  "hex": "#7897cf",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 218.621,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67511,
    "c": 0.09056,
    "h": 261.9
  },
  "luminance": 0.30631
}

Semantic roles & 50–950 ramp

primary
#7897CF
secondary
#E1D6C2
accent
#872BBB
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7897CF

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

Preview Lab → · Contrast checker → · Palette generator →

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