#7996EA#7996EA

#7996EA is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.7% C 0.129 H 268.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7996EA
RGBrgb(121, 150, 234)
HSLhsl(225, 73%, 70%)
HSVhsv(225, 48%, 92%)
CMYKcmyk(48.3%, 35.9%, 0%, 8.2%)
CIE-LABlab(63.19, 12.33, -45.57)
CIE-LCHlch(63.19, 47.21, 285.14°)
OKLaboklab(68.7% -0.0035 -0.1285)
OKLCHoklch(68.7% 0.129 268.5)
XYZxyz(33.6380, 31.8160, 82.1945)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7996EA #EACD79
analogous
#79CEEA #7996EA #9579EA
triadic
#7996EA #EA7996 #96EA79
tetradic
#7996EA #EA79CE #EACD79 #79EA95
square
#7996EA #EA79CE #EACD79 #79EA95
split-complementary
#7996EA #EA9579 #CEEA79
monochromatic
#204BC9 #446DE2 #7996EA #AEBFF2 #E3E9FB

Accessibility & contrast

On white

2.85
#7996EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#7996EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7996EA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7996EA#FFFFFF#000000##000000
##7996EA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#4BA8B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7996ea;
/* rgb */ color: rgb(121, 150, 234);
/* oklch */ color: oklch(68.7% 0.129 268.5);
Tailwind
colors: {
  custom: {
    50: '#a5b4f1',
    500: '#7996ea',
    950: '#000000',
  },
}
SCSS
$custom: #7996ea;
$custom-light: #a5b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7996ea",
  "rgb": {
    "r": 121,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 224.602,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68697,
    "c": 0.12854,
    "h": 268.5
  },
  "luminance": 0.31818
}

Semantic roles & 50–950 ramp

primary
#7996EA
secondary
#F0E7CF
accent
#A311D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7996EA

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

Preview Lab → · Contrast checker → · Palette generator →

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