#7897EB#7897EB

#7897EB is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.129 H 267.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7897EB
RGBrgb(120, 151, 235)
HSLhsl(224, 74%, 70%)
HSVhsv(224, 49%, 92%)
CMYKcmyk(48.9%, 35.7%, 0%, 7.8%)
CIE-LABlab(63.44, 11.82, -45.73)
CIE-LCHlch(63.44, 47.23, 284.49°)
OKLaboklab(68.89% -0.0054 -0.129)
OKLCHoklch(68.89% 0.129 267.6)
XYZxyz(33.8029, 32.1223, 83.0002)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897EB #EBCC78
analogous
#78D1EB #7897EB #9378EB
triadic
#7897EB #EB7897 #97EB78
tetradic
#7897EB #EB78D1 #EBCC78 #78EB93
square
#7897EB #EB78D1 #EBCC78 #78EB93
split-complementary
#7897EB #EB9378 #D1EB78
monochromatic
#1E4DCB #436EE3 #7897EB #ADC0F3 #E3E9FB

Accessibility & contrast

On white

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

On black

7.42
#7897EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897EB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897EB#FFFFFF#000000##000000
##7897EB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#47A9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7897eb;
/* rgb */ color: rgb(120, 151, 235);
/* oklch */ color: oklch(68.9% 0.129 267.6);
Tailwind
colors: {
  custom: {
    50: '#a5b5f2',
    500: '#7897eb',
    950: '#000000',
  },
}
SCSS
$custom: #7897eb;
$custom-light: #a5b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7897eb",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 223.826,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.12907,
    "h": 267.6
  },
  "luminance": 0.32124
}

Semantic roles & 50–950 ramp

primary
#7897EB
secondary
#F0E7CF
accent
#A10FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897EB

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

Preview Lab → · Contrast checker → · Palette generator →

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