#7899F8#7899F8

#7899F8 is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.0% C 0.145 H 268.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7899F8
RGBrgb(120, 153, 248)
HSLhsl(225, 90%, 72%)
HSVhsv(225, 52%, 97%)
CMYKcmyk(51.6%, 38.3%, 0%, 2.7%)
CIE-LABlab(64.60, 14.58, -51.03)
CIE-LCHlch(64.60, 53.08, 285.95°)
OKLaboklab(70% -0.0048 -0.1444)
OKLCHoklch(70% 0.145 268.1)
XYZxyz(36.0747, 33.5503, 93.3636)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899F8 #F8D778
analogous
#78D9F8 #7899F8 #9778F8
triadic
#7899F8 #F87899 #99F878
tetradic
#7899F8 #F878D9 #F8D778 #78F897
square
#7899F8 #F878D9 #F8D778 #78F897
split-complementary
#7899F8 #F89778 #D9F878
monochromatic
#0C45E9 #3E6DF5 #7899F8 #B2C5FB #E2E9FD

Accessibility & contrast

On white

2.72
#7899F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7899F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899F8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899F8#FFFFFF#000000##000000
##7899F81.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#6597F6
Tritanopia (blue-blind)
#3BADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899f8;
/* rgb */ color: rgb(120, 153, 248);
/* oklch */ color: oklch(70.0% 0.145 268.1);
Tailwind
colors: {
  custom: {
    50: '#a6b6fb',
    500: '#7899f8',
    950: '#000000',
  },
}
SCSS
$custom: #7899f8;
$custom-light: #a6b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7899f8",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 224.531,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.14451,
    "h": 268.1
  },
  "luminance": 0.33553
}

Semantic roles & 50–950 ramp

primary
#7899F8
secondary
#F6EDD5
accent
#AA00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7899F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7899F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva