#7893EB#7893EB

#7893EB is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.1% C 0.134 H 269.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7893EB
RGBrgb(120, 147, 235)
HSLhsl(226, 74%, 70%)
HSVhsv(226, 49%, 92%)
CMYKcmyk(48.9%, 37.4%, 0%, 7.8%)
CIE-LABlab(62.39, 14.15, -47.40)
CIE-LCHlch(62.39, 49.46, 286.63°)
OKLaboklab(68.08% -0.0007 -0.1338)
OKLCHoklch(68.08% 0.134 269.7)
XYZxyz(33.1700, 30.8566, 82.7892)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893EB #EBD078
analogous
#78CDEB #7893EB #9778EB
triadic
#7893EB #EB7893 #93EB78
tetradic
#7893EB #EB78CD #EBD078 #78EB97
square
#7893EB #EB78CD #EBD078 #78EB97
split-complementary
#7893EB #EB9778 #CDEB78
monochromatic
#1E47CB #4368E3 #7893EB #ADBEF3 #E3E8FB

Accessibility & contrast

On white

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

On black

7.17
#7893EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893EB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893EB#FFFFFF#000000##000000
##7893EB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#48A6B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7893eb;
/* rgb */ color: rgb(120, 147, 235);
/* oklch */ color: oklch(68.1% 0.134 269.7);
Tailwind
colors: {
  custom: {
    50: '#a5b2f2',
    500: '#7893eb',
    950: '#000000',
  },
}
SCSS
$custom: #7893eb;
$custom-light: #a5b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7893eb",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 225.913,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68076,
    "c": 0.13385,
    "h": 269.7
  },
  "luminance": 0.30859
}

Semantic roles & 50–950 ramp

primary
#7893EB
secondary
#F0E8CF
accent
#A80FD6
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7893EB

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

Preview Lab → · Contrast checker → · Palette generator →

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