#7892FC#7892FC

#7892FC is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.8% C 0.158 H 271.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7892FC
RGBrgb(120, 146, 252)
HSLhsl(228, 96%, 73%)
HSVhsv(228, 52%, 99%)
CMYKcmyk(52.4%, 42.1%, 0%, 1.2%)
CIE-LABlab(62.99, 19.90, -55.78)
CIE-LCHlch(62.99, 59.23, 289.64°)
OKLaboklab(68.82% 0.0037 -0.1584)
OKLCHoklch(68.82% 0.158 271.3)
XYZxyz(35.5896, 31.5767, 96.2961)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892FC #FCE278
analogous
#78D4FC #7892FC #A078FC
triadic
#7892FC #FC7892 #92FC78
tetradic
#7892FC #FC78D4 #FCE278 #78FCA0
square
#7892FC #FC78D4 #FCE278 #78FCA0
split-complementary
#7892FC #FCA078 #D4FC78
monochromatic
#0534F4 #3C62FB #7892FC #B4C2FD #E1E7FE

Accessibility & contrast

On white

2.87
#7892FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7892FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892FC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892FC#FFFFFF#000000##000000
##7892FC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#38A9BB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7892fc;
/* rgb */ color: rgb(120, 146, 252);
/* oklch */ color: oklch(68.8% 0.158 271.3);
Tailwind
colors: {
  custom: {
    50: '#a7b1fe',
    500: '#7892fc',
    950: '#000000',
  },
}
SCSS
$custom: #7892fc;
$custom-light: #a7b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7892fc",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 228.182,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68823,
    "c": 0.15842,
    "h": 271.3
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

primary
#7892FC
secondary
#F7F0D4
accent
#B800E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7892FC

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

Preview Lab → · Contrast checker → · Palette generator →

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