#7897FB#7897FB

#7897FB is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.8% C 0.151 H 269.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7897FB
RGBrgb(120, 151, 251)
HSLhsl(226, 94%, 73%)
HSVhsv(226, 52%, 98%)
CMYKcmyk(52.2%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.23, 16.67, -53.26)
CIE-LCHlch(64.23, 55.81, 287.37°)
OKLaboklab(69.76% -0.002 -0.151)
OKLCHoklch(69.76% 0.151 269.2)
XYZxyz(36.2192, 33.0888, 95.7263)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897FB #FBDC78
analogous
#78D8FB #7897FB #9B78FB
triadic
#7897FB #FB7897 #97FB78
tetradic
#7897FB #FB78D8 #FBDC78 #78FB9B
square
#7897FB #FB78D8 #FBDC78 #78FB9B
split-complementary
#7897FB #FB9B78 #D8FB78
monochromatic
#073FF1 #3D69F9 #7897FB #B3C5FD #E1E8FE

Accessibility & contrast

On white

2.76
#7897FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7897FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897FB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897FB#FFFFFF#000000##000000
##7897FB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#38ADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7897fb;
/* rgb */ color: rgb(120, 151, 251);
/* oklch */ color: oklch(69.8% 0.151 269.2);
Tailwind
colors: {
  custom: {
    50: '#a7b5fd',
    500: '#7897fb',
    950: '#000000',
  },
}
SCSS
$custom: #7897fb;
$custom-light: #a7b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7897fb",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 225.802,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.15097,
    "h": 269.2
  },
  "luminance": 0.33091
}

Semantic roles & 50–950 ramp

primary
#7897FB
secondary
#F6EED5
accent
#AF00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7897FB

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

Preview Lab → · Contrast checker → · Palette generator →

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