#798DBF#798DBF

#798DBF is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.7% C 0.079 H 267.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#798DBF
RGBrgb(121, 141, 191)
HSLhsl(223, 35%, 61%)
HSVhsv(223, 37%, 75%)
CMYKcmyk(36.6%, 26.2%, 0%, 25.1%)
CIE-LABlab(58.86, 5.25, -28.31)
CIE-LCHlch(58.86, 28.80, 280.50°)
OKLaboklab(64.71% -0.0036 -0.0786)
OKLCHoklch(64.71% 0.079 267.4)
XYZxyz(26.8112, 26.8751, 53.0548)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DBF #BFAB79
analogous
#79B0BF #798DBF #8879BF
triadic
#798DBF #BF798D #8DBF79
tetradic
#798DBF #BF79B0 #BFAB79 #79BF88
square
#798DBF #BF79B0 #BFAB79 #79BF88
split-complementary
#798DBF #BF8879 #B0BF79
monochromatic
#3D5080 #516AAA #798DBF #A2B0D3 #CCD3E7

Accessibility & contrast

On white

3.29
#798DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#798DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DBF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DBF#FFFFFF#000000##000000
##798DBF1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C1
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#64979E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798dbf;
/* rgb */ color: rgb(121, 141, 191);
/* oklch */ color: oklch(64.7% 0.079 267.4);
Tailwind
colors: {
  custom: {
    50: '#a2aed2',
    500: '#798dbf',
    950: '#000000',
  },
}
SCSS
$custom: #798dbf;
$custom-light: #a2aed2;
$custom-dark: #000000;
JSON
{
  "hex": "#798dbf",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 191
  },
  "hsl": {
    "h": 222.857,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.07873,
    "h": 267.4
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#798DBF
secondary
#D7D0BD
accent
#8C37AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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