#7897FF#7897FF

#7897FF is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.0% C 0.156 H 269.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7897FF
RGBrgb(120, 151, 255)
HSLhsl(226, 100%, 74%)
HSVhsv(226, 53%, 100%)
CMYKcmyk(52.9%, 40.8%, 0%, 0%)
CIE-LABlab(64.44, 17.89, -55.12)
CIE-LCHlch(64.44, 57.95, 287.98°)
OKLaboklab(69.98% -0.0013 -0.1564)
OKLCHoklch(69.98% 0.156 269.5)
XYZxyz(36.8564, 33.3437, 99.0822)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897FF #FFE078
analogous
#78DAFF #7897FF #9C78FF
triadic
#7897FF #FF7897 #97FF78
tetradic
#7897FF #FF78DA #FFE078 #78FF9C
square
#7897FF #FF78DA #FFE078 #78FF9C
split-complementary
#7897FF #FF9C78 #DAFF78
monochromatic
#003AFD #3B68FF #7897FF #B5C6FF #E0E7FF

Accessibility & contrast

On white

2.74
#7897FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#7897FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897FF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897FF#FFFFFF#000000##000000
##7897FF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#5C97FD
Tritanopia (blue-blind)
#33AEBF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7897ff;
/* rgb */ color: rgb(120, 151, 255);
/* oklch */ color: oklch(70.0% 0.156 269.5);
Tailwind
colors: {
  custom: {
    50: '#a7b5ff',
    500: '#7897ff',
    950: '#000000',
  },
}
SCSS
$custom: #7897ff;
$custom-light: #a7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ff",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 226.222,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.15642,
    "h": 269.5
  },
  "luminance": 0.33346
}

Semantic roles & 50–950 ramp

primary
#7897FF
secondary
#F7EFD4
accent
#B100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7897FF

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

Preview Lab → · Contrast checker → · Palette generator →

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