#7894FA#7894FA

#7894FA is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.1% C 0.153 H 270.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7894FA
RGBrgb(120, 148, 250)
HSLhsl(227, 93%, 73%)
HSVhsv(227, 52%, 98%)
CMYKcmyk(52%, 40.8%, 0%, 2%)
CIE-LABlab(63.40, 18.12, -54.03)
CIE-LCHlch(63.40, 56.99, 288.53°)
OKLaboklab(69.11% 0.0011 -0.1532)
OKLCHoklch(69.11% 0.153 270.4)
XYZxyz(35.5853, 32.0726, 94.7394)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7894FA #FADE78
analogous
#78D5FA #7894FA #9D78FA
triadic
#7894FA #FA7894 #94FA78
tetradic
#7894FA #FA78D5 #FADE78 #78FA9D
square
#7894FA #FA78D5 #FADE78 #78FA9D
split-complementary
#7894FA #FA9D78 #D5FA78
monochromatic
#093AEF #3D65F8 #7894FA #B3C3FC #E1E8FE

Accessibility & contrast

On white

2.83
#7894FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7894FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7894FA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7894FA#FFFFFF#000000##000000
##7894FA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#3AAABB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7894fa;
/* rgb */ color: rgb(120, 148, 250);
/* oklch */ color: oklch(69.1% 0.153 270.4);
Tailwind
colors: {
  custom: {
    50: '#a7b3fc',
    500: '#7894fa',
    950: '#000000',
  },
}
SCSS
$custom: #7894fa;
$custom-light: #a7b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7894fa",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 227.077,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69105,
    "c": 0.15324,
    "h": 270.4
  },
  "luminance": 0.32075
}

Semantic roles & 50–950 ramp

primary
#7894FA
secondary
#F6EFD5
accent
#B400E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7894FA

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

Preview Lab → · Contrast checker → · Palette generator →

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