#7899F6#7899F6

#7899F6 is a light, vivid blue. Relative luminance 0.334; OKLCH L 69.9% C 0.142 H 267.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7899F6
RGBrgb(120, 153, 246)
HSLhsl(224, 88%, 72%)
HSVhsv(224, 51%, 96%)
CMYKcmyk(51.2%, 37.8%, 0%, 3.5%)
CIE-LABlab(64.51, 13.97, -50.10)
CIE-LCHlch(64.51, 52.01, 285.59°)
OKLaboklab(69.89% -0.0053 -0.1417)
OKLCHoklch(69.89% 0.142 267.9)
XYZxyz(35.7661, 33.4269, 91.7383)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899F6 #F6D578
analogous
#78D8F6 #7899F6 #9678F6
triadic
#7899F6 #F67899 #99F678
tetradic
#7899F6 #F678D8 #F6D578 #78F696
square
#7899F6 #F678D8 #F6D578 #78F696
split-complementary
#7899F6 #F69678 #D8F678
monochromatic
#0F47E4 #3F6EF2 #7899F6 #B1C4FA #E2E9FD

Accessibility & contrast

On white

2.73
#7899F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7899F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899F6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899F6#FFFFFF#000000##000000
##7899F61.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2FA
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#3DADBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7899f6;
/* rgb */ color: rgb(120, 153, 246);
/* oklch */ color: oklch(69.9% 0.142 267.9);
Tailwind
colors: {
  custom: {
    50: '#a6b6f9',
    500: '#7899f6',
    950: '#000000',
  },
}
SCSS
$custom: #7899f6;
$custom-light: #a6b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7899f6",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 246
  },
  "hsl": {
    "h": 224.286,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69887,
    "c": 0.14179,
    "h": 267.9
  },
  "luminance": 0.33429
}

Semantic roles & 50–950 ramp

primary
#7899F6
secondary
#F5EDD5
accent
#A901E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7899F6

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

Preview Lab → · Contrast checker → · Palette generator →

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