#798EBB#798EBB

#798EBB is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.7% C 0.072 H 265.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#798EBB
RGBrgb(121, 142, 187)
HSLhsl(221, 33%, 60%)
HSVhsv(221, 35%, 73%)
CMYKcmyk(35.3%, 24.1%, 0%, 26.7%)
CIE-LABlab(58.97, 3.59, -25.87)
CIE-LCHlch(58.97, 26.12, 277.90°)
OKLaboklab(64.74% -0.0062 -0.0717)
OKLCHoklch(64.74% 0.072 265.1)
XYZxyz(26.5251, 26.9977, 50.8175)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EBB #BBA679
analogous
#79AFBB #798EBB #8579BB
triadic
#798EBB #BB798E #8EBB79
tetradic
#798EBB #BB79AF #BBA679 #79BB85
square
#798EBB #BB79AF #BBA679 #79BB85
split-complementary
#798EBB #BB8579 #AFBB79
monochromatic
#3E527B #536DA4 #798EBB #A2B0D0 #CAD2E4

Accessibility & contrast

On white

3.28
#798EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#798EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EBB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EBB#FFFFFF#000000##000000
##798EBB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BD
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#65979D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ebb;
/* rgb */ color: rgb(121, 142, 187);
/* oklch */ color: oklch(64.7% 0.072 265.1);
Tailwind
colors: {
  custom: {
    50: '#a1aecf',
    500: '#798ebb',
    950: '#000000',
  },
}
SCSS
$custom: #798ebb;
$custom-light: #a1aecf;
$custom-dark: #000000;
JSON
{
  "hex": "#798ebb",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 220.909,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.07195,
    "h": 265.1
  },
  "luminance": 0.26999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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