#7892F9#7892F9

#7892F9 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.7% C 0.154 H 271.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7892F9
RGBrgb(120, 146, 249)
HSLhsl(228, 91%, 72%)
HSVhsv(228, 52%, 98%)
CMYKcmyk(51.8%, 41.4%, 0%, 2.4%)
CIE-LABlab(62.83, 18.98, -54.39)
CIE-LCHlch(62.83, 57.61, 289.24°)
OKLaboklab(68.65% 0.0032 -0.1543)
OKLCHoklch(68.65% 0.154 271.2)
XYZxyz(35.1179, 31.3880, 93.8121)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892F9 #F9DF78
analogous
#78D2F9 #7892F9 #9F78F9
triadic
#7892F9 #F97892 #92F978
tetradic
#7892F9 #F978D2 #F9DF78 #78F99F
square
#7892F9 #F978D2 #F9DF78 #78F99F
split-complementary
#7892F9 #F99F78 #D2F978
monochromatic
#0A38EC #3D63F6 #7892F9 #B3C1FC #E2E7FE

Accessibility & contrast

On white

2.89
#7892F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7892F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892F9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892F9#FFFFFF#000000##000000
##7892F91.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#3BA8B9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7892f9;
/* rgb */ color: rgb(120, 146, 249);
/* oklch */ color: oklch(68.7% 0.154 271.2);
Tailwind
colors: {
  custom: {
    50: '#a6b1fc',
    500: '#7892f9',
    950: '#000000',
  },
}
SCSS
$custom: #7892f9;
$custom-light: #a6b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7892f9",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 249
  },
  "hsl": {
    "h": 227.907,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68651,
    "c": 0.15433,
    "h": 271.2
  },
  "luminance": 0.3139
}

Semantic roles & 50–950 ramp

primary
#7892F9
secondary
#F6EFD5
accent
#B700E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7892F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7892F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva