#798CBE#798CBE

#798CBE is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.4% C 0.078 H 268.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#798CBE
RGBrgb(121, 140, 190)
HSLhsl(223, 35%, 61%)
HSVhsv(223, 36%, 75%)
CMYKcmyk(36.3%, 26.3%, 0%, 25.5%)
CIE-LABlab(58.54, 5.56, -28.23)
CIE-LCHlch(58.54, 28.78, 281.13°)
OKLaboklab(64.45% -0.0026 -0.0784)
OKLCHoklch(64.45% 0.078 268.1)
XYZxyz(26.5547, 26.5377, 52.4283)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CBE #BEAB79
analogous
#79AEBE #798CBE #8879BE
triadic
#798CBE #BE798C #8CBE79
tetradic
#798CBE #BE79AE #BEAB79 #79BE88
square
#798CBE #BE79AE #BEAB79 #79BE88
split-complementary
#798CBE #BE8879 #AEBE79
monochromatic
#3E507F #5269A8 #798CBE #A2AFD2 #CBD3E6

Accessibility & contrast

On white

3.33
#798CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#798CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CBE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CBE#FFFFFF#000000##000000
##798CBE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C0
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#64969D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798cbe;
/* rgb */ color: rgb(121, 140, 190);
/* oklch */ color: oklch(64.4% 0.078 268.1);
Tailwind
colors: {
  custom: {
    50: '#a2add1',
    500: '#798cbe',
    950: '#000000',
  },
}
SCSS
$custom: #798cbe;
$custom-light: #a2add1;
$custom-dark: #000000;
JSON
{
  "hex": "#798cbe",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 190
  },
  "hsl": {
    "h": 223.478,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.07846,
    "h": 268.1
  },
  "luminance": 0.26539
}

Semantic roles & 50–950 ramp

primary
#798CBE
secondary
#D6CFBC
accent
#8D38AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798CBE

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

Preview Lab → · Contrast checker → · Palette generator →

#798CBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva