#798FBF#798FBF

#798FBF is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.1% C 0.076 H 265.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#798FBF
RGBrgb(121, 143, 191)
HSLhsl(221, 35%, 61%)
HSVhsv(221, 37%, 75%)
CMYKcmyk(36.6%, 25.1%, 0%, 25.1%)
CIE-LABlab(59.41, 4.09, -27.47)
CIE-LCHlch(59.41, 27.77, 278.48°)
OKLaboklab(65.14% -0.0063 -0.0762)
OKLCHoklch(65.14% 0.076 265.3)
XYZxyz(27.1088, 27.4702, 53.1540)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FBF #BFA979
analogous
#79B2BF #798FBF #8679BF
triadic
#798FBF #BF798F #8FBF79
tetradic
#798FBF #BF79B2 #BFA979 #79BF86
square
#798FBF #BF79B2 #BFA979 #79BF86
split-complementary
#798FBF #BF8679 #B2BF79
monochromatic
#3D5280 #516DAA #798FBF #A2B2D3 #CCD4E7

Accessibility & contrast

On white

3.23
#798FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#798FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FBF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FBF#FFFFFF#000000##000000
##798FBF1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92C1
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#6399A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fbf;
/* rgb */ color: rgb(121, 143, 191);
/* oklch */ color: oklch(65.1% 0.076 265.3);
Tailwind
colors: {
  custom: {
    50: '#a2afd2',
    500: '#798fbf',
    950: '#000000',
  },
}
SCSS
$custom: #798fbf;
$custom-light: #a2afd2;
$custom-dark: #000000;
JSON
{
  "hex": "#798fbf",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 191
  },
  "hsl": {
    "h": 221.143,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65135,
    "c": 0.07649,
    "h": 265.3
  },
  "luminance": 0.27471
}

Semantic roles & 50–950 ramp

primary
#798FBF
secondary
#D7CFBD
accent
#8937AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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