#798FBD#798FBD

#798FBD is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.0% C 0.074 H 264.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#798FBD
RGBrgb(121, 143, 189)
HSLhsl(221, 34%, 61%)
HSVhsv(221, 36%, 74%)
CMYKcmyk(36%, 24.3%, 0%, 25.9%)
CIE-LABlab(59.33, 3.55, -26.46)
CIE-LCHlch(59.33, 26.70, 277.65°)
OKLaboklab(65.05% -0.0069 -0.0733)
OKLCHoklch(65.05% 0.074 264.6)
XYZxyz(26.8902, 27.3828, 52.0028)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FBD #BDA779
analogous
#79B1BD #798FBD #8579BD
triadic
#798FBD #BD798F #8FBD79
tetradic
#798FBD #BD79B1 #BDA779 #79BD85
square
#798FBD #BD79B1 #BDA779 #79BD85
split-complementary
#798FBD #BD8579 #B1BD79
monochromatic
#3E537E #526DA7 #798FBD #A2B1D1 #CBD4E5

Accessibility & contrast

On white

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

On black

6.48
#798FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FBD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FBD#FFFFFF#000000##000000
##798FBD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BF
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#64989F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fbd;
/* rgb */ color: rgb(121, 143, 189);
/* oklch */ color: oklch(65.0% 0.074 264.6);
Tailwind
colors: {
  custom: {
    50: '#a2afd1',
    500: '#798fbd',
    950: '#000000',
  },
}
SCSS
$custom: #798fbd;
$custom-light: #a2afd1;
$custom-dark: #000000;
JSON
{
  "hex": "#798fbd",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 189
  },
  "hsl": {
    "h": 220.588,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65046,
    "c": 0.07367,
    "h": 264.6
  },
  "luminance": 0.27384
}

Semantic roles & 50–950 ramp

primary
#798FBD
secondary
#D6CDBC
accent
#8739AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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