#798CCB#798CCB

#798CCB is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.1% C 0.097 H 270.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#798CCB
RGBrgb(121, 140, 203)
HSLhsl(226, 44%, 64%)
HSVhsv(226, 40%, 80%)
CMYKcmyk(40.4%, 31%, 0%, 20.4%)
CIE-LABlab(59.10, 9.16, -34.72)
CIE-LCHlch(59.10, 35.91, 284.78°)
OKLaboklab(65.06% 0.0012 -0.097)
OKLCHoklch(65.06% 0.097 270.7)
XYZxyz(28.0395, 27.1316, 60.2478)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CCB #CBB879
analogous
#79B5CB #798CCB #8F79CB
triadic
#798CCB #CB798C #8CCB79
tetradic
#798CCB #CB79B5 #CBB879 #79CB8F
square
#798CCB #CB79B5 #CBB879 #79CB8F
split-complementary
#798CCB #CB8F79 #B5CB79
monochromatic
#384D91 #4D66BA #798CCB #A5B2DC #D1D8ED

Accessibility & contrast

On white

3.27
#798CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#798CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CCB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CCB#FFFFFF#000000##000000
##798CCB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#5E99A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ccb;
/* rgb */ color: rgb(121, 140, 203);
/* oklch */ color: oklch(65.1% 0.097 270.7);
Tailwind
colors: {
  custom: {
    50: '#a3addb',
    500: '#798ccb',
    950: '#000000',
  },
}
SCSS
$custom: #798ccb;
$custom-light: #a3addb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ccb",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 203
  },
  "hsl": {
    "h": 226.098,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6506,
    "c": 0.09706,
    "h": 270.7
  },
  "luminance": 0.27133
}

Semantic roles & 50–950 ramp

primary
#798CCB
secondary
#DED8C1
accent
#972EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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