#7892E5#7892E5

#7892E5 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.6% C 0.127 H 269.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7892E5
RGBrgb(120, 146, 229)
HSLhsl(226, 68%, 68%)
HSVhsv(226, 48%, 90%)
CMYKcmyk(47.6%, 36.2%, 0%, 10.2%)
CIE-LABlab(61.83, 12.94, -44.95)
CIE-LCHlch(61.83, 46.78, 286.06°)
OKLaboklab(67.55% -0.0009 -0.1267)
OKLCHoklch(67.55% 0.127 269.6)
XYZxyz(32.1629, 30.2060, 78.2491)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892E5 #E5CB78
analogous
#78C8E5 #7892E5 #9478E5
triadic
#7892E5 #E57892 #92E578
tetradic
#7892E5 #E578C8 #E5CB78 #78E594
square
#7892E5 #E578C8 #E5CB78 #78E594
split-complementary
#7892E5 #E59478 #C8E578
monochromatic
#2549BE #4569DB #7892E5 #ABBBEF #DFE5F9

Accessibility & contrast

On white

2.98
#7892E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7892E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892E5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892E5#FFFFFF#000000##000000
##7892E51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE8
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#4DA3B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7892e5;
/* rgb */ color: rgb(120, 146, 229);
/* oklch */ color: oklch(67.6% 0.127 269.6);
Tailwind
colors: {
  custom: {
    50: '#a4b1ed',
    500: '#7892e5',
    950: '#000000',
  },
}
SCSS
$custom: #7892e5;
$custom-light: #a4b1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7892e5",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 229
  },
  "hsl": {
    "h": 225.688,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67553,
    "c": 0.12673,
    "h": 269.6
  },
  "luminance": 0.30208
}

Semantic roles & 50–950 ramp

primary
#7892E5
secondary
#EDE5CC
accent
#A316D0
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7892E5

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

Preview Lab → · Contrast checker → · Palette generator →

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