#798FBB#798FBB

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

Color values

HEX#798FBB
RGBrgb(121, 143, 187)
HSLhsl(220, 33%, 60%)
HSVhsv(220, 35%, 73%)
CMYKcmyk(35.3%, 23.5%, 0%, 26.7%)
CIE-LABlab(59.25, 3.01, -25.45)
CIE-LCHlch(59.25, 25.63, 276.75°)
OKLaboklab(64.96% -0.0075 -0.0705)
OKLCHoklch(64.96% 0.071 263.9)
XYZxyz(26.6746, 27.2966, 50.8673)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FBB #BBA579
analogous
#79B0BB #798FBB #8479BB
triadic
#798FBB #BB798F #8FBB79
tetradic
#798FBB #BB79B0 #BBA579 #79BB84
square
#798FBB #BB79B0 #BBA579 #79BB84
split-complementary
#798FBB #BB8479 #B0BB79
monochromatic
#3E537B #536EA4 #798FBB #A2B1D0 #CAD3E4

Accessibility & contrast

On white

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

On black

6.46
#798FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FBB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FBB#FFFFFF#000000##000000
##798FBB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#65989E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fbb;
/* rgb */ color: rgb(121, 143, 187);
/* oklch */ color: oklch(65.0% 0.071 263.9);
Tailwind
colors: {
  custom: {
    50: '#a1afcf',
    500: '#798fbb',
    950: '#000000',
  },
}
SCSS
$custom: #798fbb;
$custom-light: #a1afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#798fbb",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.07087,
    "h": 263.9
  },
  "luminance": 0.27298
}

Semantic roles & 50–950 ramp

primary
#798FBB
secondary
#D5CCBB
accent
#863AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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