#7892EF#7892EF

#7892EF is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.1% C 0.141 H 270.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7892EF
RGBrgb(120, 146, 239)
HSLhsl(227, 79%, 70%)
HSVhsv(227, 50%, 94%)
CMYKcmyk(49.8%, 38.9%, 0%, 6.3%)
CIE-LABlab(62.32, 15.94, -49.70)
CIE-LCHlch(62.32, 52.20, 287.78°)
OKLaboklab(68.09% 0.0013 -0.1406)
OKLCHoklch(68.09% 0.141 270.5)
XYZxyz(33.5996, 30.7807, 85.8154)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892EF #EFD578
analogous
#78CDEF #7892EF #9978EF
triadic
#7892EF #EF7892 #92EF78
tetradic
#7892EF #EF78CD #EFD578 #78EF99
square
#7892EF #EF78CD #EFD578 #78EF99
split-complementary
#7892EF #EF9978 #CDEF78
monochromatic
#1942D4 #4166E9 #7892EF #AFBEF5 #E4E9FC

Accessibility & contrast

On white

2.93
#7892EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7892EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892EF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892EF#FFFFFF#000000##000000
##7892EF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#45A6B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7892ef;
/* rgb */ color: rgb(120, 146, 239);
/* oklch */ color: oklch(68.1% 0.141 270.5);
Tailwind
colors: {
  custom: {
    50: '#a5b1f4',
    500: '#7892ef',
    950: '#000000',
  },
}
SCSS
$custom: #7892ef;
$custom-light: #a5b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7892ef",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 226.891,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68091,
    "c": 0.1406,
    "h": 270.5
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#7892EF
secondary
#F2EBD1
accent
#AD0ADB
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7892EF

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

Preview Lab → · Contrast checker → · Palette generator →

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