#7798FD#7798FD

#7798FD is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.153 H 268.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7798FD
RGBrgb(119, 152, 253)
HSLhsl(225, 97%, 73%)
HSVhsv(225, 53%, 99%)
CMYKcmyk(53%, 39.9%, 0%, 0.8%)
CIE-LABlab(64.54, 16.48, -53.88)
CIE-LCHlch(64.54, 56.34, 287.01°)
OKLaboklab(70.01% -0.0037 -0.1528)
OKLCHoklch(70.01% 0.153 268.6)
XYZxyz(36.5598, 33.4676, 97.4428)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798FD #FDDC77
analogous
#77DBFD #7798FD #9977FD
triadic
#7798FD #FD7798 #98FD77
tetradic
#7798FD #FD77DB #FDDC77 #77FD99
square
#7798FD #FD77DB #FDDC77 #77FD99
split-complementary
#7798FD #FD9977 #DBFD77
monochromatic
#043FF6 #3B6AFC #7798FD #B3C6FE #E1E8FF

Accessibility & contrast

On white

2.73
#7798FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7798FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798FD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798FD#FFFFFF#000000##000000
##7798FD1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#32AEBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7798fd;
/* rgb */ color: rgb(119, 152, 253);
/* oklch */ color: oklch(70.0% 0.153 268.6);
Tailwind
colors: {
  custom: {
    50: '#a6b6fe',
    500: '#7798fd',
    950: '#000000',
  },
}
SCSS
$custom: #7798fd;
$custom-light: #a6b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7798fd",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 225.224,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70012,
    "c": 0.15282,
    "h": 268.6
  },
  "luminance": 0.3347
}

Semantic roles & 50–950 ramp

primary
#7798FD
secondary
#F7EED4
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7798FD

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

Preview Lab → · Contrast checker → · Palette generator →

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