#798CBB#798CBB

#798CBB is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.3% C 0.074 H 267.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#798CBB
RGBrgb(121, 140, 187)
HSLhsl(223, 33%, 60%)
HSVhsv(223, 35%, 73%)
CMYKcmyk(35.3%, 25.1%, 0%, 26.7%)
CIE-LABlab(58.42, 4.74, -26.72)
CIE-LCHlch(58.42, 27.14, 280.07°)
OKLaboklab(64.31% -0.0035 -0.0741)
OKLCHoklch(64.31% 0.074 267.3)
XYZxyz(26.2302, 26.4079, 50.7192)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CBB #BBA879
analogous
#79ADBB #798CBB #8779BB
triadic
#798CBB #BB798C #8CBB79
tetradic
#798CBB #BB79AD #BBA879 #79BB87
square
#798CBB #BB79AD #BBA879 #79BB87
split-complementary
#798CBB #BB8779 #ADBB79
monochromatic
#3E507B #536AA4 #798CBB #A2AFD0 #CAD2E4

Accessibility & contrast

On white

3.34
#798CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#798CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CBB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CBB#FFFFFF#000000##000000
##798CBB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D90BD
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#65959C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798cbb;
/* rgb */ color: rgb(121, 140, 187);
/* oklch */ color: oklch(64.3% 0.074 267.3);
Tailwind
colors: {
  custom: {
    50: '#a1adcf',
    500: '#798cbb',
    950: '#000000',
  },
}
SCSS
$custom: #798cbb;
$custom-light: #a1adcf;
$custom-dark: #000000;
JSON
{
  "hex": "#798cbb",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 187
  },
  "hsl": {
    "h": 222.727,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.07418,
    "h": 267.3
  },
  "luminance": 0.26409
}

Semantic roles & 50–950 ramp

primary
#798CBB
secondary
#D5CDBB
accent
#8B3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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