#798CBC#798CBC

#798CBC is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.4% C 0.076 H 267.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#798CBC
RGBrgb(121, 140, 188)
HSLhsl(223, 33%, 61%)
HSVhsv(223, 36%, 74%)
CMYKcmyk(35.6%, 25.5%, 0%, 26.3%)
CIE-LABlab(58.46, 5.02, -27.23)
CIE-LCHlch(58.46, 27.69, 280.44°)
OKLaboklab(64.36% -0.0032 -0.0755)
OKLCHoklch(64.36% 0.076 267.6)
XYZxyz(26.3377, 26.4508, 51.2850)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CBC #BCA979
analogous
#79ADBC #798CBC #8779BC
triadic
#798CBC #BC798C #8CBC79
tetradic
#798CBC #BC79AD #BCA979 #79BC87
square
#798CBC #BC79AD #BCA979 #79BC87
split-complementary
#798CBC #BC8779 #ADBC79
monochromatic
#3E507C #536AA5 #798CBC #A2AFD0 #CBD2E5

Accessibility & contrast

On white

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

On black

6.29
#798CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CBC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CBC#FFFFFF#000000##000000
##798CBC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C90BE
Deuteranopia (green-blind)
#768ABB
Tritanopia (blue-blind)
#65969D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798cbc;
/* rgb */ color: rgb(121, 140, 188);
/* oklch */ color: oklch(64.4% 0.076 267.6);
Tailwind
colors: {
  custom: {
    50: '#a1add0',
    500: '#798cbc',
    950: '#000000',
  },
}
SCSS
$custom: #798cbc;
$custom-light: #a1add0;
$custom-dark: #000000;
JSON
{
  "hex": "#798cbc",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 188
  },
  "hsl": {
    "h": 222.985,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64359,
    "c": 0.07561,
    "h": 267.6
  },
  "luminance": 0.26452
}

Semantic roles & 50–950 ramp

primary
#798CBC
secondary
#D5CEBC
accent
#8C39AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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