#7894EA#7894EA

#7894EA is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.2% C 0.131 H 269.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7894EA
RGBrgb(120, 148, 234)
HSLhsl(225, 73%, 69%)
HSVhsv(225, 49%, 92%)
CMYKcmyk(48.7%, 36.8%, 0%, 8.2%)
CIE-LABlab(62.60, 13.27, -46.50)
CIE-LCHlch(62.60, 48.36, 285.92°)
OKLaboklab(68.23% -0.0021 -0.1312)
OKLCHoklch(68.23% 0.131 269.1)
XYZxyz(33.1821, 31.1113, 82.0825)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7894EA #EACE78
analogous
#78CDEA #7894EA #9578EA
triadic
#7894EA #EA7894 #94EA78
tetradic
#7894EA #EA78CD #EACE78 #78EA95
square
#7894EA #EA78CD #EACE78 #78EA95
split-complementary
#7894EA #EA9578 #CDEA78
monochromatic
#1F49C8 #436AE2 #7894EA #ADBEF2 #E2E8FA

Accessibility & contrast

On white

2.91
#7894EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7894EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7894EA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7894EA#FFFFFF#000000##000000
##7894EA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DED
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#49A6B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7894ea;
/* rgb */ color: rgb(120, 148, 234);
/* oklch */ color: oklch(68.2% 0.131 269.1);
Tailwind
colors: {
  custom: {
    50: '#a5b3f1',
    500: '#7894ea',
    950: '#000000',
  },
}
SCSS
$custom: #7894ea;
$custom-light: #a5b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7894ea",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 225.263,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.13126,
    "h": 269.1
  },
  "luminance": 0.31113
}

Semantic roles & 50–950 ramp

primary
#7894EA
secondary
#EFE7CE
accent
#A510D5
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7894EA

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

Preview Lab → · Contrast checker → · Palette generator →

#7894EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva