#798BBC#798BBC

#798BBC is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.1% C 0.077 H 268.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#798BBC
RGBrgb(121, 139, 188)
HSLhsl(224, 33%, 61%)
HSVhsv(224, 36%, 74%)
CMYKcmyk(35.6%, 26.1%, 0%, 26.3%)
CIE-LABlab(58.19, 5.59, -27.65)
CIE-LCHlch(58.19, 28.21, 281.44°)
OKLaboklab(64.15% -0.0018 -0.0767)
OKLCHoklch(64.15% 0.077 268.6)
XYZxyz(26.1922, 26.1599, 51.2365)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BBC #BCAA79
analogous
#79ACBC #798BBC #8879BC
triadic
#798BBC #BC798B #8BBC79
tetradic
#798BBC #BC79AC #BCAA79 #79BC88
square
#798BBC #BC79AC #BCAA79 #79BC88
split-complementary
#798BBC #BC8879 #ACBC79
monochromatic
#3E4F7C #5369A5 #798BBC #A2AED0 #CBD2E5

Accessibility & contrast

On white

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

On black

6.23
#798BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BBC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BBC#FFFFFF#000000##000000
##798BBC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798bbc;
/* rgb */ color: rgb(121, 139, 188);
/* oklch */ color: oklch(64.1% 0.077 268.6);
Tailwind
colors: {
  custom: {
    50: '#a2acd0',
    500: '#798bbc',
    950: '#000000',
  },
}
SCSS
$custom: #798bbc;
$custom-light: #a2acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#798bbc",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 188
  },
  "hsl": {
    "h": 223.881,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64145,
    "c": 0.07677,
    "h": 268.6
  },
  "luminance": 0.26161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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