#7896FC#7896FC

#7896FC is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.6% C 0.154 H 269.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7896FC
RGBrgb(120, 150, 252)
HSLhsl(226, 96%, 73%)
HSVhsv(226, 52%, 99%)
CMYKcmyk(52.4%, 40.5%, 0%, 1.2%)
CIE-LABlab(64.02, 17.56, -54.14)
CIE-LCHlch(64.02, 56.92, 287.97°)
OKLaboklab(69.62% -0.0007 -0.1535)
OKLCHoklch(69.62% 0.154 269.7)
XYZxyz(36.2170, 32.8315, 96.5052)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7896FC #FCDE78
analogous
#78D8FC #7896FC #9C78FC
triadic
#7896FC #FC7896 #96FC78
tetradic
#7896FC #FC78D8 #FCDE78 #78FC9C
square
#7896FC #FC78D8 #FCDE78 #78FC9C
split-complementary
#7896FC #FC9C78 #D8FC78
monochromatic
#053CF4 #3C67FB #7896FC #B4C5FD #E1E8FE

Accessibility & contrast

On white

2.78
#7896FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#7896FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7896FC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7896FC#FFFFFF#000000##000000
##7896FC1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#37ACBD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7896fc;
/* rgb */ color: rgb(120, 150, 252);
/* oklch */ color: oklch(69.6% 0.154 269.7);
Tailwind
colors: {
  custom: {
    50: '#a7b4fe',
    500: '#7896fc',
    950: '#000000',
  },
}
SCSS
$custom: #7896fc;
$custom-light: #a7b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7896fc",
  "rgb": {
    "r": 120,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 226.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69615,
    "c": 0.15354,
    "h": 269.7
  },
  "luminance": 0.32834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7896FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7896FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva