#798BBB#798BBB

#798BBB is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.1% C 0.075 H 268.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#798BBB
RGBrgb(121, 139, 187)
HSLhsl(224, 33%, 60%)
HSVhsv(224, 35%, 73%)
CMYKcmyk(35.3%, 25.7%, 0%, 26.7%)
CIE-LABlab(58.15, 5.32, -27.15)
CIE-LCHlch(58.15, 27.66, 281.10°)
OKLaboklab(64.1% -0.0021 -0.0753)
OKLCHoklch(64.1% 0.075 268.4)
XYZxyz(26.0848, 26.1170, 50.6707)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BBB #BBA979
analogous
#79ACBB #798BBB #8879BB
triadic
#798BBB #BB798B #8BBB79
tetradic
#798BBB #BB79AC #BBA979 #79BB88
square
#798BBB #BB79AC #BBA979 #79BB88
split-complementary
#798BBB #BB8879 #ACBB79
monochromatic
#3E4F7B #5369A4 #798BBB #A2AED0 #CAD1E4

Accessibility & contrast

On white

3.37
#798BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#798BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BBB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BBB#FFFFFF#000000##000000
##798BBB1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBD
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#65959C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798bbb;
/* rgb */ color: rgb(121, 139, 187);
/* oklch */ color: oklch(64.1% 0.075 268.4);
Tailwind
colors: {
  custom: {
    50: '#a1accf',
    500: '#798bbb',
    950: '#000000',
  },
}
SCSS
$custom: #798bbb;
$custom-light: #a1accf;
$custom-dark: #000000;
JSON
{
  "hex": "#798bbb",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 223.636,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.641,
    "c": 0.07533,
    "h": 268.4
  },
  "luminance": 0.26118
}

Semantic roles & 50–950 ramp

primary
#798BBB
secondary
#D5CEBB
accent
#8D3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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