#7897FE#7897FE

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

Color values

HEX#7897FE
RGBrgb(120, 151, 254)
HSLhsl(226, 99%, 73%)
HSVhsv(226, 53%, 100%)
CMYKcmyk(52.8%, 40.6%, 0%, 0.4%)
CIE-LABlab(64.39, 17.59, -54.66)
CIE-LCHlch(64.39, 57.42, 287.83°)
OKLaboklab(69.93% -0.0015 -0.155)
OKLCHoklch(69.93% 0.155 269.5)
XYZxyz(36.6959, 33.2795, 98.2366)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897FE #FEDF78
analogous
#78DAFE #7897FE #9C78FE
triadic
#7897FE #FE7897 #97FE78
tetradic
#7897FE #FE78DA #FEDF78 #78FE9C
square
#7897FE #FE78DA #FEDF78 #78FE9C
split-complementary
#7897FE #FE9C78 #DAFE78
monochromatic
#023BFA #3B68FE #7897FE #B5C6FE #E1E8FF

Accessibility & contrast

On white

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

On black

7.66
#7897FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897FE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897FE#FFFFFF#000000##000000
##7897FE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#5D97FC
Tritanopia (blue-blind)
#34ADBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7897fe;
/* rgb */ color: rgb(120, 151, 254);
/* oklch */ color: oklch(69.9% 0.155 269.5);
Tailwind
colors: {
  custom: {
    50: '#a7b5ff',
    500: '#7897fe',
    950: '#000000',
  },
}
SCSS
$custom: #7897fe;
$custom-light: #a7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7897fe",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 226.119,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.15506,
    "h": 269.5
  },
  "luminance": 0.33282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7897FE

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

Preview Lab → · Contrast checker → · Palette generator →

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