#7798E7#7798E7

#7798E7 is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.8% C 0.123 H 266.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7798E7
RGBrgb(119, 152, 231)
HSLhsl(222, 70%, 69%)
HSVhsv(222, 48%, 91%)
CMYKcmyk(48.5%, 34.2%, 0%, 9.4%)
CIE-LABlab(63.46, 9.81, -43.49)
CIE-LCHlch(63.46, 44.59, 282.71°)
OKLaboklab(68.83% -0.0085 -0.1225)
OKLCHoklch(68.83% 0.123 266)
XYZxyz(33.2551, 32.1458, 80.0382)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798E7 #E7C677
analogous
#77D0E7 #7798E7 #8E77E7
triadic
#7798E7 #E77798 #98E777
tetradic
#7798E7 #E777D0 #E7C677 #77E78E
square
#7798E7 #E777D0 #E7C677 #77E78E
split-complementary
#7798E7 #E78E77 #D0E777
monochromatic
#2251C1 #4371DE #7798E7 #ABBFF0 #DFE7F9

Accessibility & contrast

On white

2.83
#7798E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7798E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798E7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798E7#FFFFFF#000000##000000
##7798E71.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9FEA
Deuteranopia (green-blind)
#6E95E5
Tritanopia (blue-blind)
#48A9B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7798e7;
/* rgb */ color: rgb(119, 152, 231);
/* oklch */ color: oklch(68.8% 0.123 266.0);
Tailwind
colors: {
  custom: {
    50: '#a4b6ef',
    500: '#7798e7',
    950: '#000000',
  },
}
SCSS
$custom: #7798e7;
$custom-light: #a4b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7798e7",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 222.321,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68831,
    "c": 0.12276,
    "h": 266
  },
  "luminance": 0.32148
}

Semantic roles & 50–950 ramp

primary
#7798E7
secondary
#EEE4CC
accent
#9A14D2
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7798E7

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

Preview Lab → · Contrast checker → · Palette generator →

#7798E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva