#798FBA#798FBA

#798FBA is a light, moderate blue. Relative luminance 0.273; OKLCH L 64.9% C 0.069 H 263.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#798FBA
RGBrgb(121, 143, 186)
HSLhsl(220, 32%, 60%)
HSVhsv(220, 35%, 73%)
CMYKcmyk(34.9%, 23.1%, 0%, 27.1%)
CIE-LABlab(59.21, 2.75, -24.94)
CIE-LCHlch(59.21, 25.09, 276.28°)
OKLaboklab(64.92% -0.0079 -0.069)
OKLCHoklch(64.92% 0.069 263.5)
XYZxyz(26.5679, 27.2539, 50.3055)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FBA #BAA479
analogous
#79B0BA #798FBA #8379BA
triadic
#798FBA #BA798F #8FBA79
tetradic
#798FBA #BA79B0 #BAA479 #79BA83
square
#798FBA #BA79B0 #BAA479 #79BA83
split-complementary
#798FBA #BA8379 #B0BA79
monochromatic
#3F537A #546EA2 #798FBA #A1B1CF #CAD3E4

Accessibility & contrast

On white

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

On black

6.45
#798FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FBA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FBA#FFFFFF#000000##000000
##798FBA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BC
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#65989E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798fba;
/* rgb */ color: rgb(121, 143, 186);
/* oklch */ color: oklch(64.9% 0.069 263.5);
Tailwind
colors: {
  custom: {
    50: '#a1afcf',
    500: '#798fba',
    950: '#000000',
  },
}
SCSS
$custom: #798fba;
$custom-light: #a1afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#798fba",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 219.692,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64915,
    "c": 0.06948,
    "h": 263.5
  },
  "luminance": 0.27255
}

Semantic roles & 50–950 ramp

primary
#798FBA
secondary
#D4CBBB
accent
#853BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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