#7892EE#7892EE

#7892EE is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.0% C 0.139 H 270.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7892EE
RGBrgb(120, 146, 238)
HSLhsl(227, 78%, 70%)
HSVhsv(227, 50%, 93%)
CMYKcmyk(49.6%, 38.7%, 0%, 6.7%)
CIE-LABlab(62.27, 15.64, -49.23)
CIE-LCHlch(62.27, 51.66, 287.62°)
OKLaboklab(68.04% 0.0011 -0.1392)
OKLCHoklch(68.04% 0.139 270.4)
XYZxyz(33.4523, 30.7217, 85.0395)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892EE #EED478
analogous
#78CDEE #7892EE #9978EE
triadic
#7892EE #EE7892 #92EE78
tetradic
#7892EE #EE78CD #EED478 #78EE99
square
#7892EE #EE78CD #EED478 #78EE99
split-complementary
#7892EE #EE9978 #CDEE78
monochromatic
#1A43D1 #4266E7 #7892EE #AEBEF5 #E4E9FC

Accessibility & contrast

On white

2.94
#7892EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7892EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892EE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892EE#FFFFFF#000000##000000
##7892EE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#46A6B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7892ee;
/* rgb */ color: rgb(120, 146, 238);
/* oklch */ color: oklch(68.0% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#a5b1f4',
    500: '#7892ee',
    950: '#000000',
  },
}
SCSS
$custom: #7892ee;
$custom-light: #a5b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7892ee",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 226.78,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.13921,
    "h": 270.4
  },
  "luminance": 0.30724
}

Semantic roles & 50–950 ramp

primary
#7892EE
secondary
#F1EAD1
accent
#AC0CDA
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7892EE

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

Preview Lab → · Contrast checker → · Palette generator →

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