#798BBF#798BBF

#798BBF is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.3% C 0.081 H 269.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#798BBF
RGBrgb(121, 139, 191)
HSLhsl(225, 35%, 61%)
HSVhsv(225, 37%, 75%)
CMYKcmyk(36.6%, 27.2%, 0%, 25.1%)
CIE-LABlab(58.31, 6.41, -29.16)
CIE-LCHlch(58.31, 29.86, 282.40°)
OKLaboklab(64.28% -0.0009 -0.0811)
OKLCHoklch(64.28% 0.081 269.3)
XYZxyz(26.5190, 26.2906, 52.9574)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BBF #BFAD79
analogous
#79AEBF #798BBF #8A79BF
triadic
#798BBF #BF798B #8BBF79
tetradic
#798BBF #BF79AE #BFAD79 #79BF8A
square
#798BBF #BF79AE #BFAD79 #79BF8A
split-complementary
#798BBF #BF8A79 #AEBF79
monochromatic
#3D4F80 #5168AA #798BBF #A2AFD3 #CCD3E7

Accessibility & contrast

On white

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

On black

6.26
#798BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BBF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BBF#FFFFFF#000000##000000
##798BBF1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FC1
Deuteranopia (green-blind)
#7489BE
Tritanopia (blue-blind)
#64959D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798bbf;
/* rgb */ color: rgb(121, 139, 191);
/* oklch */ color: oklch(64.3% 0.081 269.3);
Tailwind
colors: {
  custom: {
    50: '#a2acd2',
    500: '#798bbf',
    950: '#000000',
  },
}
SCSS
$custom: #798bbf;
$custom-light: #a2acd2;
$custom-dark: #000000;
JSON
{
  "hex": "#798bbf",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 191
  },
  "hsl": {
    "h": 224.571,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.08108,
    "h": 269.3
  },
  "luminance": 0.26292
}

Semantic roles & 50–950 ramp

primary
#798BBF
secondary
#D7D0BD
accent
#9037AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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