#7798CB#7798CB

#7798CB is a light, moderate blue. Relative luminance 0.307; OKLCH L 67.5% C 0.085 H 258.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7798CB
RGBrgb(119, 152, 203)
HSLhsl(216, 45%, 63%)
HSVhsv(216, 41%, 80%)
CMYKcmyk(41.4%, 25.1%, 0%, 20.4%)
CIE-LABlab(62.24, 1.70, -29.84)
CIE-LCHlch(62.24, 29.89, 273.26°)
OKLaboklab(67.48% -0.0163 -0.083)
OKLCHoklch(67.48% 0.085 258.9)
XYZxyz(29.6120, 30.6886, 60.8515)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798CB #CBAA77
analogous
#77C2CB #7798CB #8077CB
triadic
#7798CB #CB7798 #98CB77
tetradic
#7798CB #CB77C2 #CBAA77 #77CB80
square
#7798CB #CB77C2 #CBAA77 #77CB80
split-complementary
#7798CB #CB8077 #C2CB77
monochromatic
#375A90 #4B76BA #7798CB #A3BADC #D0DBED

Accessibility & contrast

On white

2.94
#7798CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7798CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798CB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798CB#FFFFFF#000000##000000
##7798CB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCD
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#59A3AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7798cb;
/* rgb */ color: rgb(119, 152, 203);
/* oklch */ color: oklch(67.5% 0.085 258.9);
Tailwind
colors: {
  custom: {
    50: '#a1b6db',
    500: '#7798cb',
    950: '#000000',
  },
}
SCSS
$custom: #7798cb;
$custom-light: #a1b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#7798cb",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 216.429,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.08462,
    "h": 258.9
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#7798CB
secondary
#DED2C0
accent
#822EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7798CB

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

Preview Lab → · Contrast checker → · Palette generator →

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