#7897FC#7897FC

#7897FC is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.152 H 269.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7897FC
RGBrgb(120, 151, 252)
HSLhsl(226, 96%, 73%)
HSVhsv(226, 52%, 99%)
CMYKcmyk(52.4%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.28, 16.97, -53.73)
CIE-LCHlch(64.28, 56.35, 287.53°)
OKLaboklab(69.82% -0.0018 -0.1523)
OKLCHoklch(69.82% 0.152 269.3)
XYZxyz(36.3773, 33.1520, 96.5587)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897FC #FCDD78
analogous
#78D9FC #7897FC #9B78FC
triadic
#7897FC #FC7897 #97FC78
tetradic
#7897FC #FC78D9 #FCDD78 #78FC9B
square
#7897FC #FC78D9 #FCDD78 #78FC9B
split-complementary
#7897FC #FC9B78 #D9FC78
monochromatic
#053DF4 #3C69FB #7897FC #B4C5FD #E1E8FE

Accessibility & contrast

On white

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

On black

7.63
#7897FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897FC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897FC#FFFFFF#000000##000000
##7897FC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7897fc;
/* rgb */ color: rgb(120, 151, 252);
/* oklch */ color: oklch(69.8% 0.152 269.3);
Tailwind
colors: {
  custom: {
    50: '#a7b5fe',
    500: '#7897fc',
    950: '#000000',
  },
}
SCSS
$custom: #7897fc;
$custom-light: #a7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7897fc",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 225.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.15234,
    "h": 269.3
  },
  "luminance": 0.33155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7897FC

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

Preview Lab → · Contrast checker → · Palette generator →

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