#798BBD#798BBD

#798BBD is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.2% C 0.078 H 268.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#798BBD
RGBrgb(121, 139, 189)
HSLhsl(224, 34%, 61%)
HSVhsv(224, 36%, 74%)
CMYKcmyk(36%, 26.5%, 0%, 25.9%)
CIE-LABlab(58.23, 5.87, -28.15)
CIE-LCHlch(58.23, 28.76, 281.77°)
OKLaboklab(64.19% -0.0015 -0.0782)
OKLCHoklch(64.19% 0.078 268.9)
XYZxyz(26.3004, 26.2032, 51.8062)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BBD #BDAB79
analogous
#79ADBD #798BBD #8979BD
triadic
#798BBD #BD798B #8BBD79
tetradic
#798BBD #BD79AD #BDAB79 #79BD89
square
#798BBD #BD79AD #BDAB79 #79BD89
split-complementary
#798BBD #BD8979 #ADBD79
monochromatic
#3E4F7E #5268A7 #798BBD #A2AED1 #CBD2E5

Accessibility & contrast

On white

3.36
#798BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#798BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BBD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BBD#FFFFFF#000000##000000
##798BBD1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBF
Deuteranopia (green-blind)
#7589BC
Tritanopia (blue-blind)
#65959C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798bbd;
/* rgb */ color: rgb(121, 139, 189);
/* oklch */ color: oklch(64.2% 0.078 268.9);
Tailwind
colors: {
  custom: {
    50: '#a2acd1',
    500: '#798bbd',
    950: '#000000',
  },
}
SCSS
$custom: #798bbd;
$custom-light: #a2acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#798bbd",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 189
  },
  "hsl": {
    "h": 224.118,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6419,
    "c": 0.0782,
    "h": 268.9
  },
  "luminance": 0.26204
}

Semantic roles & 50–950 ramp

primary
#798BBD
secondary
#D6CFBC
accent
#8E39AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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