#798DBD#798DBD

#798DBD is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.6% C 0.076 H 266.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#798DBD
RGBrgb(121, 141, 189)
HSLhsl(222, 34%, 61%)
HSVhsv(222, 36%, 74%)
CMYKcmyk(36%, 25.4%, 0%, 25.9%)
CIE-LABlab(58.78, 4.71, -27.31)
CIE-LCHlch(58.78, 27.71, 279.78°)
OKLaboklab(64.62% -0.0042 -0.0758)
OKLCHoklch(64.62% 0.076 266.8)
XYZxyz(26.5926, 26.7877, 51.9036)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DBD #BDA979
analogous
#79AFBD #798DBD #8779BD
triadic
#798DBD #BD798D #8DBD79
tetradic
#798DBD #BD79AF #BDA979 #79BD87
square
#798DBD #BD79AF #BDA979 #79BD87
split-complementary
#798DBD #BD8779 #AFBD79
monochromatic
#3E517E #526BA7 #798DBD #A2B0D1 #CBD3E5

Accessibility & contrast

On white

3.30
#798DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#798DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DBD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DBD#FFFFFF#000000##000000
##798DBD1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91BF
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#64979E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798dbd;
/* rgb */ color: rgb(121, 141, 189);
/* oklch */ color: oklch(64.6% 0.076 266.8);
Tailwind
colors: {
  custom: {
    50: '#a2aed1',
    500: '#798dbd',
    950: '#000000',
  },
}
SCSS
$custom: #798dbd;
$custom-light: #a2aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#798dbd",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 189
  },
  "hsl": {
    "h": 222.353,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64617,
    "c": 0.07589,
    "h": 266.8
  },
  "luminance": 0.26789
}

Semantic roles & 50–950 ramp

primary
#798DBD
secondary
#D6CEBC
accent
#8B39AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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