#7897EE#7897EE

#7897EE is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.1% C 0.133 H 268.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7897EE
RGBrgb(120, 151, 238)
HSLhsl(224, 78%, 70%)
HSVhsv(224, 50%, 93%)
CMYKcmyk(49.6%, 36.6%, 0%, 6.7%)
CIE-LABlab(63.59, 12.72, -47.15)
CIE-LCHlch(63.59, 48.84, 285.10°)
OKLaboklab(69.05% -0.0047 -0.1331)
OKLCHoklch(69.05% 0.133 268)
XYZxyz(34.2399, 32.2971, 85.3021)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897EE #EECF78
analogous
#78D2EE #7897EE #9478EE
triadic
#7897EE #EE7897 #97EE78
tetradic
#7897EE #EE78D2 #EECF78 #78EE94
square
#7897EE #EE78D2 #EECF78 #78EE94
split-complementary
#7897EE #EE9478 #D2EE78
monochromatic
#1A4AD1 #426DE7 #7897EE #AEC1F5 #E4EAFC

Accessibility & contrast

On white

2.82
#7897EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7897EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897EE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897EE#FFFFFF#000000##000000
##7897EE1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#45AAB7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7897ee;
/* rgb */ color: rgb(120, 151, 238);
/* oklch */ color: oklch(69.1% 0.133 268.0);
Tailwind
colors: {
  custom: {
    50: '#a5b5f4',
    500: '#7897ee',
    950: '#000000',
  },
}
SCSS
$custom: #7897ee;
$custom-light: #a5b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ee",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 224.237,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69051,
    "c": 0.13319,
    "h": 268
  },
  "luminance": 0.32299
}

Semantic roles & 50–950 ramp

primary
#7897EE
secondary
#F1E9D1
accent
#A40CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897EE

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

Preview Lab → · Contrast checker → · Palette generator →

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