#798CBF#798CBF

#798CBF is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.5% C 0.080 H 268.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#798CBF
RGBrgb(121, 140, 191)
HSLhsl(224, 35%, 61%)
HSVhsv(224, 37%, 75%)
CMYKcmyk(36.6%, 26.7%, 0%, 25.1%)
CIE-LABlab(58.58, 5.83, -28.74)
CIE-LCHlch(58.58, 29.32, 281.47°)
OKLaboklab(64.49% -0.0023 -0.0799)
OKLCHoklch(64.49% 0.08 268.4)
XYZxyz(26.6644, 26.5815, 53.0059)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CBF #BFAC79
analogous
#79AFBF #798CBF #8979BF
triadic
#798CBF #BF798C #8CBF79
tetradic
#798CBF #BF79AF #BFAC79 #79BF89
square
#798CBF #BF79AF #BFAC79 #79BF89
split-complementary
#798CBF #BF8979 #AFBF79
monochromatic
#3D4F80 #5169AA #798CBF #A2B0D3 #CCD3E7

Accessibility & contrast

On white

3.32
#798CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#798CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CBF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CBF#FFFFFF#000000##000000
##798CBF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#64969E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798cbf;
/* rgb */ color: rgb(121, 140, 191);
/* oklch */ color: oklch(64.5% 0.080 268.4);
Tailwind
colors: {
  custom: {
    50: '#a2add2',
    500: '#798cbf',
    950: '#000000',
  },
}
SCSS
$custom: #798cbf;
$custom-light: #a2add2;
$custom-dark: #000000;
JSON
{
  "hex": "#798cbf",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 191
  },
  "hsl": {
    "h": 223.714,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64494,
    "c": 0.07989,
    "h": 268.4
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#798CBF
secondary
#D7D0BD
accent
#8E37AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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