#7892EB#7892EB

#7892EB is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.9% C 0.135 H 270.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7892EB
RGBrgb(120, 146, 235)
HSLhsl(226, 74%, 70%)
HSVhsv(226, 49%, 92%)
CMYKcmyk(48.9%, 37.9%, 0%, 7.8%)
CIE-LABlab(62.12, 14.74, -47.81)
CIE-LCHlch(62.12, 50.03, 287.13°)
OKLaboklab(67.87% 0.0005 -0.1351)
OKLCHoklch(67.87% 0.135 270.2)
XYZxyz(33.0152, 30.5469, 82.7376)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892EB #EBD178
analogous
#78CCEB #7892EB #9878EB
triadic
#7892EB #EB7892 #92EB78
tetradic
#7892EB #EB78CC #EBD178 #78EB98
square
#7892EB #EB78CC #EBD178 #78EB98
split-complementary
#7892EB #EB9878 #CCEB78
monochromatic
#1E45CB #4367E3 #7892EB #ADBDF3 #E3E8FB

Accessibility & contrast

On white

2.95
#7892EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7892EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892EB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892EB#FFFFFF#000000##000000
##7892EB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEF
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#48A5B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7892eb;
/* rgb */ color: rgb(120, 146, 235);
/* oklch */ color: oklch(67.9% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#a5b1f2',
    500: '#7892eb',
    950: '#000000',
  },
}
SCSS
$custom: #7892eb;
$custom-light: #a5b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7892eb",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 226.435,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.13506,
    "h": 270.2
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

primary
#7892EB
secondary
#F0E8CF
accent
#A90FD6
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7892EB

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

Preview Lab → · Contrast checker → · Palette generator →

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