#798EBF#798EBF

#798EBF is a light, moderate blue. Relative luminance 0.272; OKLCH L 64.9% C 0.078 H 266.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#798EBF
RGBrgb(121, 142, 191)
HSLhsl(222, 35%, 61%)
HSVhsv(222, 37%, 75%)
CMYKcmyk(36.6%, 25.7%, 0%, 25.1%)
CIE-LABlab(59.13, 4.67, -27.89)
CIE-LCHlch(59.13, 28.28, 279.51°)
OKLaboklab(64.92% -0.0049 -0.0774)
OKLCHoklch(64.92% 0.078 266.3)
XYZxyz(26.9593, 27.1713, 53.1042)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EBF #BFAA79
analogous
#79B1BF #798EBF #8779BF
triadic
#798EBF #BF798E #8EBF79
tetradic
#798EBF #BF79B1 #BFAA79 #79BF87
square
#798EBF #BF79B1 #BFAA79 #79BF87
split-complementary
#798EBF #BF8779 #B1BF79
monochromatic
#3D5180 #516CAA #798EBF #A2B1D3 #CCD4E7

Accessibility & contrast

On white

3.26
#798EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#798EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EBF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EBF#FFFFFF#000000##000000
##798EBF1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C1
Deuteranopia (green-blind)
#778BBE
Tritanopia (blue-blind)
#64989F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ebf;
/* rgb */ color: rgb(121, 142, 191);
/* oklch */ color: oklch(64.9% 0.078 266.3);
Tailwind
colors: {
  custom: {
    50: '#a2aed2',
    500: '#798ebf',
    950: '#000000',
  },
}
SCSS
$custom: #798ebf;
$custom-light: #a2aed2;
$custom-dark: #000000;
JSON
{
  "hex": "#798ebf",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 191
  },
  "hsl": {
    "h": 222,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64921,
    "c": 0.0776,
    "h": 266.3
  },
  "luminance": 0.27173
}

Semantic roles & 50–950 ramp

primary
#798EBF
secondary
#D7CFBD
accent
#8B37AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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