#7798EA#7798EA

#7798EA is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.0% C 0.127 H 266.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7798EA
RGBrgb(119, 152, 234)
HSLhsl(223, 73%, 69%)
HSVhsv(223, 49%, 92%)
CMYKcmyk(49.1%, 35%, 0%, 8.2%)
CIE-LABlab(63.60, 10.71, -44.93)
CIE-LCHlch(63.60, 46.19, 283.41°)
OKLaboklab(68.99% -0.0078 -0.1266)
OKLCHoklch(68.99% 0.127 266.5)
XYZxyz(33.6824, 32.3167, 82.2888)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798EA #EAC977
analogous
#77D1EA #7798EA #9077EA
triadic
#7798EA #EA7798 #98EA77
tetradic
#7798EA #EA77D1 #EAC977 #77EA90
square
#7798EA #EA77D1 #EAC977 #77EA90
split-complementary
#7798EA #EA9077 #D1EA77
monochromatic
#1F4FC8 #4270E2 #7798EA #ACC0F2 #E1E8FA

Accessibility & contrast

On white

2.81
#7798EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7798EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798EA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798EA#FFFFFF#000000##000000
##7798EA1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#46A9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7798ea;
/* rgb */ color: rgb(119, 152, 234);
/* oklch */ color: oklch(69.0% 0.127 266.5);
Tailwind
colors: {
  custom: {
    50: '#a4b6f1',
    500: '#7798ea',
    950: '#000000',
  },
}
SCSS
$custom: #7798ea;
$custom-light: #a4b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7798ea",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 222.783,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68986,
    "c": 0.12688,
    "h": 266.5
  },
  "luminance": 0.32319
}

Semantic roles & 50–950 ramp

primary
#7798EA
secondary
#EFE6CE
accent
#9D10D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7798EA

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

Preview Lab → · Contrast checker → · Palette generator →

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