#7798CD#7798CD

#7798CD is a light, moderate blue. Relative luminance 0.308; OKLCH L 67.6% C 0.087 H 259.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7798CD
RGBrgb(119, 152, 205)
HSLhsl(217, 46%, 64%)
HSVhsv(217, 42%, 80%)
CMYKcmyk(42%, 25.9%, 0%, 19.6%)
CIE-LABlab(62.33, 2.26, -30.83)
CIE-LCHlch(62.33, 30.91, 274.20°)
OKLaboklab(67.57% -0.0156 -0.0859)
OKLCHoklch(67.57% 0.087 259.7)
XYZxyz(29.8519, 30.7845, 62.1148)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798CD #CDAC77
analogous
#77C3CD #7798CD #8177CD
triadic
#7798CD #CD7798 #98CD77
tetradic
#7798CD #CD77C3 #CDAC77 #77CD81
square
#7798CD #CD77C3 #CDAC77 #77CD81
split-complementary
#7798CD #CD8177 #C3CD77
monochromatic
#365A93 #4A76BD #7798CD #A4BADD #D0DCEE

Accessibility & contrast

On white

2.93
#7798CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7798CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798CD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798CD#FFFFFF#000000##000000
##7798CD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCF
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#58A3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7798cd;
/* rgb */ color: rgb(119, 152, 205);
/* oklch */ color: oklch(67.6% 0.087 259.7);
Tailwind
colors: {
  custom: {
    50: '#a1b6dc',
    500: '#7798cd',
    950: '#000000',
  },
}
SCSS
$custom: #7798cd;
$custom-light: #a1b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7798cd",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 216.977,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6757,
    "c": 0.08729,
    "h": 259.7
  },
  "luminance": 0.30786
}

Semantic roles & 50–950 ramp

primary
#7798CD
secondary
#DFD3C1
accent
#832CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7798CD

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

Preview Lab → · Contrast checker → · Palette generator →

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