#7897FD#7897FD

#7897FD is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.9% C 0.154 H 269.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7897FD
RGBrgb(120, 151, 253)
HSLhsl(226, 97%, 73%)
HSVhsv(226, 53%, 99%)
CMYKcmyk(52.6%, 40.3%, 0%, 0.8%)
CIE-LABlab(64.34, 17.28, -54.19)
CIE-LCHlch(64.34, 56.88, 287.68°)
OKLaboklab(69.87% -0.0016 -0.1537)
OKLCHoklch(69.87% 0.154 269.4)
XYZxyz(36.5361, 33.2156, 97.3954)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897FD #FDDE78
analogous
#78D9FD #7897FD #9B78FD
triadic
#7897FD #FD7897 #97FD78
tetradic
#7897FD #FD78D9 #FDDE78 #78FD9B
square
#7897FD #FD78D9 #FDDE78 #78FD9B
split-complementary
#7897FD #FD9B78 #D9FD78
monochromatic
#043CF7 #3C69FC #7897FD #B4C5FE #E1E8FF

Accessibility & contrast

On white

2.75
#7897FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7897FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897FD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897FD#FFFFFF#000000##000000
##7897FD1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#36ADBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7897fd;
/* rgb */ color: rgb(120, 151, 253);
/* oklch */ color: oklch(69.9% 0.154 269.4);
Tailwind
colors: {
  custom: {
    50: '#a7b5fe',
    500: '#7897fd',
    950: '#000000',
  },
}
SCSS
$custom: #7897fd;
$custom-light: #a7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7897fd",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 226.015,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69871,
    "c": 0.1537,
    "h": 269.4
  },
  "luminance": 0.33218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7897FD

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

Preview Lab → · Contrast checker → · Palette generator →

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