#798BBE#798BBE

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

Color values

HEX#798BBE
RGBrgb(121, 139, 190)
HSLhsl(224, 35%, 61%)
HSVhsv(224, 36%, 75%)
CMYKcmyk(36.3%, 26.8%, 0%, 25.5%)
CIE-LABlab(58.27, 6.14, -28.66)
CIE-LCHlch(58.27, 29.31, 282.09°)
OKLaboklab(64.24% -0.0012 -0.0796)
OKLCHoklch(64.24% 0.08 269.1)
XYZxyz(26.4093, 26.2468, 52.3798)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BBE #BEAC79
analogous
#79ADBE #798BBE #8979BE
triadic
#798BBE #BE798B #8BBE79
tetradic
#798BBE #BE79AD #BEAC79 #79BE89
square
#798BBE #BE79AD #BEAC79 #79BE89
split-complementary
#798BBE #BE8979 #ADBE79
monochromatic
#3E4F7F #5268A8 #798BBE #A2AFD2 #CBD2E6

Accessibility & contrast

On white

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

On black

6.25
#798BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BBE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BBE#FFFFFF#000000##000000
##798BBE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798bbe;
/* rgb */ color: rgb(121, 139, 190);
/* oklch */ color: oklch(64.2% 0.080 269.1);
Tailwind
colors: {
  custom: {
    50: '#a2acd1',
    500: '#798bbe',
    950: '#000000',
  },
}
SCSS
$custom: #798bbe;
$custom-light: #a2acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#798bbe",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 190
  },
  "hsl": {
    "h": 224.348,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64236,
    "c": 0.07964,
    "h": 269.1
  },
  "luminance": 0.26248
}

Semantic roles & 50–950 ramp

primary
#798BBE
secondary
#D6D0BC
accent
#8F38AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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