#7899F2#7899F2

#7899F2 is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.7% C 0.136 H 267.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7899F2
RGBrgb(120, 153, 242)
HSLhsl(224, 82%, 71%)
HSVhsv(224, 50%, 95%)
CMYKcmyk(50.4%, 36.8%, 0%, 5.1%)
CIE-LABlab(64.31, 12.76, -48.21)
CIE-LCHlch(64.31, 49.87, 284.83°)
OKLaboklab(69.67% -0.0061 -0.1362)
OKLCHoklch(69.67% 0.136 267.4)
XYZxyz(35.1587, 33.1840, 88.5397)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899F2 #F2D178
analogous
#78D6F2 #7899F2 #9478F2
triadic
#7899F2 #F27899 #99F278
tetradic
#7899F2 #F278D6 #F2D178 #78F294
square
#7899F2 #F278D6 #F2D178 #78F294
split-complementary
#7899F2 #F29478 #D6F278
monochromatic
#154ADB #406FED #7899F2 #B0C3F7 #E3EAFC

Accessibility & contrast

On white

2.75
#7899F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7899F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899F2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899F2#FFFFFF#000000##000000
##7899F21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#41ACBA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7899f2;
/* rgb */ color: rgb(120, 153, 242);
/* oklch */ color: oklch(69.7% 0.136 267.4);
Tailwind
colors: {
  custom: {
    50: '#a6b6f7',
    500: '#7899f2',
    950: '#000000',
  },
}
SCSS
$custom: #7899f2;
$custom-light: #a6b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7899f2",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 223.77,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.13633,
    "h": 267.4
  },
  "luminance": 0.33186
}

Semantic roles & 50–950 ramp

primary
#7899F2
secondary
#F3EAD3
accent
#A407DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7899F2

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

Preview Lab → · Contrast checker → · Palette generator →

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