#798BCD#798BCD

#798BCD is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.9% C 0.101 H 271.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#798BCD
RGBrgb(121, 139, 205)
HSLhsl(227, 46%, 64%)
HSVhsv(227, 41%, 80%)
CMYKcmyk(41%, 32.2%, 0%, 19.6%)
CIE-LABlab(58.92, 10.31, -36.13)
CIE-LCHlch(58.92, 37.57, 285.93°)
OKLaboklab(64.95% 0.003 -0.1011)
OKLCHoklch(64.95% 0.101 271.7)
XYZxyz(28.1339, 26.9366, 61.4626)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BCD #CDBB79
analogous
#79B5CD #798BCD #9179CD
triadic
#798BCD #CD798B #8BCD79
tetradic
#798BCD #CD79B5 #CDBB79 #79CD91
square
#798BCD #CD79B5 #CDBB79 #79CD91
split-complementary
#798BCD #CD9179 #B5CD79
monochromatic
#374B94 #4C64BC #798BCD #A6B2DE #D2D8EE

Accessibility & contrast

On white

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

On black

6.39
#798BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BCD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BCD#FFFFFF#000000##000000
##798BCD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#5E98A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798bcd;
/* rgb */ color: rgb(121, 139, 205);
/* oklch */ color: oklch(64.9% 0.101 271.7);
Tailwind
colors: {
  custom: {
    50: '#a3acdc',
    500: '#798bcd',
    950: '#000000',
  },
}
SCSS
$custom: #798bcd;
$custom-light: #a3acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#798bcd",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 205
  },
  "hsl": {
    "h": 227.143,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.10116,
    "h": 271.7
  },
  "luminance": 0.26938
}

Semantic roles & 50–950 ramp

primary
#798BCD
secondary
#E0D9C2
accent
#9B2DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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