#798FBC#798FBC

#798FBC is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.0% C 0.072 H 264.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#798FBC
RGBrgb(121, 143, 188)
HSLhsl(220, 33%, 61%)
HSVhsv(220, 36%, 74%)
CMYKcmyk(35.6%, 23.9%, 0%, 26.3%)
CIE-LABlab(59.29, 3.28, -25.95)
CIE-LCHlch(59.29, 26.16, 277.21°)
OKLaboklab(65% -0.0072 -0.0719)
OKLCHoklch(65% 0.072 264.3)
XYZxyz(26.7820, 27.3395, 51.4331)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FBC #BCA679
analogous
#79B0BC #798FBC #8579BC
triadic
#798FBC #BC798F #8FBC79
tetradic
#798FBC #BC79B0 #BCA679 #79BC85
square
#798FBC #BC79B0 #BCA679 #79BC85
split-complementary
#798FBC #BC8579 #B0BC79
monochromatic
#3E537C #536EA5 #798FBC #A2B1D0 #CBD3E5

Accessibility & contrast

On white

3.25
#798FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#798FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FBC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FBC#FFFFFF#000000##000000
##798FBC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BE
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#65989E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fbc;
/* rgb */ color: rgb(121, 143, 188);
/* oklch */ color: oklch(65.0% 0.072 264.3);
Tailwind
colors: {
  custom: {
    50: '#a1afd0',
    500: '#798fbc',
    950: '#000000',
  },
}
SCSS
$custom: #798fbc;
$custom-light: #a1afd0;
$custom-dark: #000000;
JSON
{
  "hex": "#798fbc",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 220.299,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65002,
    "c": 0.07227,
    "h": 264.3
  },
  "luminance": 0.27341
}

Semantic roles & 50–950 ramp

primary
#798FBC
secondary
#D5CDBC
accent
#8639AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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