#7893EA#7893EA

#7893EA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.0% C 0.132 H 269.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7893EA
RGBrgb(120, 147, 234)
HSLhsl(226, 73%, 69%)
HSVhsv(226, 49%, 92%)
CMYKcmyk(48.7%, 37.2%, 0%, 8.2%)
CIE-LABlab(62.34, 13.85, -46.92)
CIE-LCHlch(62.34, 48.92, 286.45°)
OKLaboklab(68.02% -0.0009 -0.1325)
OKLCHoklch(68.02% 0.132 269.6)
XYZxyz(33.0259, 30.7989, 82.0305)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893EA #EACF78
analogous
#78CCEA #7893EA #9678EA
triadic
#7893EA #EA7893 #93EA78
tetradic
#7893EA #EA78CC #EACF78 #78EA96
square
#7893EA #EA78CC #EACF78 #78EA96
split-complementary
#7893EA #EA9678 #CCEA78
monochromatic
#1F47C8 #4369E2 #7893EA #ADBDF2 #E2E8FA

Accessibility & contrast

On white

2.93
#7893EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7893EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893EA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893EA#FFFFFF#000000##000000
##7893EA1.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)
#729CED
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#49A5B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7893ea;
/* rgb */ color: rgb(120, 147, 234);
/* oklch */ color: oklch(68.0% 0.132 269.6);
Tailwind
colors: {
  custom: {
    50: '#a5b2f1',
    500: '#7893ea',
    950: '#000000',
  },
}
SCSS
$custom: #7893ea;
$custom-light: #a5b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7893ea",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 225.789,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68023,
    "c": 0.13246,
    "h": 269.6
  },
  "luminance": 0.30801
}

Semantic roles & 50–950 ramp

primary
#7893EA
secondary
#EFE8CE
accent
#A710D5
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7893EA

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

Preview Lab → · Contrast checker → · Palette generator →

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