#798FBE#798FBE

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

Color values

HEX#798FBE
RGBrgb(121, 143, 190)
HSLhsl(221, 35%, 61%)
HSVhsv(221, 36%, 75%)
CMYKcmyk(36.3%, 24.7%, 0%, 25.5%)
CIE-LABlab(59.37, 3.82, -26.96)
CIE-LCHlch(59.37, 27.23, 278.07°)
OKLaboklab(65.09% -0.0066 -0.0748)
OKLCHoklch(65.09% 0.075 265)
XYZxyz(26.9991, 27.4264, 52.5764)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FBE #BEA879
analogous
#79B1BE #798FBE #8579BE
triadic
#798FBE #BE798F #8FBE79
tetradic
#798FBE #BE79B1 #BEA879 #79BE85
square
#798FBE #BE79B1 #BEA879 #79BE85
split-complementary
#798FBE #BE8579 #B1BE79
monochromatic
#3E527F #526DA8 #798FBE #A2B1D2 #CBD4E6

Accessibility & contrast

On white

3.24
#798FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798FBE#FFFFFF#000000##000000
##798FBE1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92C0
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#64999F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fbe;
/* rgb */ color: rgb(121, 143, 190);
/* oklch */ color: oklch(65.1% 0.075 265.0);
Tailwind
colors: {
  custom: {
    50: '#a2afd1',
    500: '#798fbe',
    950: '#000000',
  },
}
SCSS
$custom: #798fbe;
$custom-light: #a2afd1;
$custom-dark: #000000;
JSON
{
  "hex": "#798fbe",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 190
  },
  "hsl": {
    "h": 220.87,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65091,
    "c": 0.07508,
    "h": 265
  },
  "luminance": 0.27428
}

Semantic roles & 50–950 ramp

primary
#798FBE
secondary
#D6CEBC
accent
#8838AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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