#7993EC#7993EC

#7993EC is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.2% C 0.135 H 270.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7993EC
RGBrgb(121, 147, 236)
HSLhsl(226, 75%, 70%)
HSVhsv(226, 49%, 93%)
CMYKcmyk(48.7%, 37.7%, 0%, 7.5%)
CIE-LABlab(62.50, 14.68, -47.77)
CIE-LCHlch(62.50, 49.98, 287.08°)
OKLaboklab(68.19% 0.0005 -0.1349)
OKLCHoklch(68.19% 0.135 270.2)
XYZxyz(33.4543, 30.9864, 83.5588)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7993EC #ECD279
analogous
#79CCEC #7993EC #9979EC
triadic
#7993EC #EC7993 #93EC79
tetradic
#7993EC #EC79CC #ECD279 #79EC99
square
#7993EC #EC79CC #ECD279 #79EC99
split-complementary
#7993EC #EC9979 #CCEC79
monochromatic
#1D45CD #4368E4 #7993EC #AFBEF4 #E4E9FB

Accessibility & contrast

On white

2.92
#7993EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7993EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7993EC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7993EC#FFFFFF#000000##000000
##7993EC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#6592EA
Tritanopia (blue-blind)
#4AA6B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7993ec;
/* rgb */ color: rgb(121, 147, 236);
/* oklch */ color: oklch(68.2% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#a6b2f2',
    500: '#7993ec',
    950: '#000000',
  },
}
SCSS
$custom: #7993ec;
$custom-light: #a6b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7993ec",
  "rgb": {
    "r": 121,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 226.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.68193,
    "c": 0.13492,
    "h": 270.2
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

primary
#7993EC
secondary
#F0E9D0
accent
#AA0ED7
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7993EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7993EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva