#7897E2#7897E2

#7897E2 is a light, moderate blue. Relative luminance 0.316; OKLCH L 68.4% C 0.117 H 266.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7897E2
RGBrgb(120, 151, 226)
HSLhsl(222, 65%, 68%)
HSVhsv(222, 47%, 89%)
CMYKcmyk(46.9%, 33.2%, 0%, 11.4%)
CIE-LABlab(63.02, 9.15, -41.42)
CIE-LCHlch(63.02, 42.41, 282.45°)
OKLaboklab(68.43% -0.0076 -0.1164)
OKLCHoklch(68.43% 0.117 266.3)
XYZxyz(32.5354, 31.6153, 76.3247)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897E2 #E2C378
analogous
#78CCE2 #7897E2 #8E78E2
triadic
#7897E2 #E27897 #97E278
tetradic
#7897E2 #E278CC #E2C378 #78E28E
square
#7897E2 #E278CC #E2C378 #78E28E
split-complementary
#7897E2 #E28E78 #CCE278
monochromatic
#2852B8 #4670D7 #7897E2 #AABEED #DDE5F8

Accessibility & contrast

On white

2.87
#7897E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7897E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897E2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897E2#FFFFFF#000000##000000
##7897E21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#7094E0
Tritanopia (blue-blind)
#4EA7B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7897e2;
/* rgb */ color: rgb(120, 151, 226);
/* oklch */ color: oklch(68.4% 0.117 266.3);
Tailwind
colors: {
  custom: {
    50: '#a4b5eb',
    500: '#7897e2',
    950: '#000000',
  },
}
SCSS
$custom: #7897e2;
$custom-light: #a4b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7897e2",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 222.453,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.11668,
    "h": 266.3
  },
  "luminance": 0.31617
}

Semantic roles & 50–950 ramp

primary
#7897E2
secondary
#EBE2CB
accent
#9819CC
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7897E2

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

Preview Lab → · Contrast checker → · Palette generator →

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