#7897EA#7897EA

#7897EA is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.8% C 0.128 H 267.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7897EA
RGBrgb(120, 151, 234)
HSLhsl(224, 73%, 69%)
HSVhsv(224, 49%, 92%)
CMYKcmyk(48.7%, 35.5%, 0%, 8.2%)
CIE-LABlab(63.40, 11.52, -45.25)
CIE-LCHlch(63.40, 46.69, 284.28°)
OKLaboklab(68.84% -0.0056 -0.1276)
OKLCHoklch(68.84% 0.128 267.5)
XYZxyz(33.6588, 32.0646, 82.2414)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897EA #EACB78
analogous
#78D0EA #7897EA #9278EA
triadic
#7897EA #EA7897 #97EA78
tetradic
#7897EA #EA78D0 #EACB78 #78EA92
square
#7897EA #EA78D0 #EACB78 #78EA92
split-complementary
#7897EA #EA9278 #D0EA78
monochromatic
#1F4DC8 #436EE2 #7897EA #ADC0F2 #E2E9FA

Accessibility & contrast

On white

2.83
#7897EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7897EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897EA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897EA#FFFFFF#000000##000000
##7897EA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#48A9B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7897ea;
/* rgb */ color: rgb(120, 151, 234);
/* oklch */ color: oklch(68.8% 0.128 267.5);
Tailwind
colors: {
  custom: {
    50: '#a5b5f1',
    500: '#7897ea',
    950: '#000000',
  },
}
SCSS
$custom: #7897ea;
$custom-light: #a5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ea",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 223.684,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68841,
    "c": 0.12769,
    "h": 267.5
  },
  "luminance": 0.32067
}

Semantic roles & 50–950 ramp

primary
#7897EA
secondary
#EFE6CE
accent
#A010D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897EA

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

Preview Lab → · Contrast checker → · Palette generator →

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