#7899FD#7899FD

#7899FD is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.3% C 0.151 H 268.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7899FD
RGBrgb(120, 153, 253)
HSLhsl(225, 97%, 73%)
HSVhsv(225, 53%, 99%)
CMYKcmyk(52.6%, 39.5%, 0%, 0.8%)
CIE-LABlab(64.86, 16.11, -53.37)
CIE-LCHlch(64.86, 55.75, 286.80°)
OKLaboklab(70.27% -0.0038 -0.1513)
OKLCHoklch(70.27% 0.151 268.5)
XYZxyz(36.8607, 33.8648, 97.5036)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899FD #FDDC78
analogous
#78DBFD #7899FD #9978FD
triadic
#7899FD #FD7899 #99FD78
tetradic
#7899FD #FD78DB #FDDC78 #78FD99
square
#7899FD #FD78DB #FDDC78 #78FD99
split-complementary
#7899FD #FD9978 #DBFD78
monochromatic
#0440F7 #3C6BFC #7899FD #B4C7FE #E1E8FF

Accessibility & contrast

On white

2.70
#7899FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7899FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899FD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899FD#FFFFFF#000000##000000
##7899FD1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#35AFBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899fd;
/* rgb */ color: rgb(120, 153, 253);
/* oklch */ color: oklch(70.3% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#a7b6fe',
    500: '#7899fd',
    950: '#000000',
  },
}
SCSS
$custom: #7899fd;
$custom-light: #a7b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7899fd",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 225.113,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.15131,
    "h": 268.5
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

primary
#7899FD
secondary
#F7EED4
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7899FD

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

Preview Lab → · Contrast checker → · Palette generator →

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