#7899FB#7899FB

#7899FB is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.149 H 268.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7899FB
RGBrgb(120, 153, 251)
HSLhsl(225, 94%, 73%)
HSVhsv(225, 52%, 98%)
CMYKcmyk(52.2%, 39%, 0%, 1.6%)
CIE-LABlab(64.75, 15.50, -52.44)
CIE-LCHlch(64.75, 54.68, 286.47°)
OKLaboklab(70.16% -0.0042 -0.1485)
OKLCHoklch(70.16% 0.149 268.4)
XYZxyz(36.5438, 33.7380, 95.8345)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899FB #FBDA78
analogous
#78DBFB #7899FB #9878FB
triadic
#7899FB #FB7899 #99FB78
tetradic
#7899FB #FB78DB #FBDA78 #78FB98
square
#7899FB #FB78DB #FBDA78 #78FB98
split-complementary
#7899FB #FB9878 #DBFB78
monochromatic
#0742F1 #3D6CF9 #7899FB #B3C6FD #E1E9FE

Accessibility & contrast

On white

2.71
#7899FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7899FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899FB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899FB#FFFFFF#000000##000000
##7899FB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#38AEBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899fb;
/* rgb */ color: rgb(120, 153, 251);
/* oklch */ color: oklch(70.2% 0.149 268.4);
Tailwind
colors: {
  custom: {
    50: '#a7b6fd',
    500: '#7899fb',
    950: '#000000',
  },
}
SCSS
$custom: #7899fb;
$custom-light: #a7b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7899fb",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 224.885,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7016,
    "c": 0.14859,
    "h": 268.4
  },
  "luminance": 0.33741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7899FB

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

Preview Lab → · Contrast checker → · Palette generator →

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