#798FCB#798FCB

#798FCB is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.7% C 0.093 H 268.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#798FCB
RGBrgb(121, 143, 203)
HSLhsl(224, 44%, 64%)
HSVhsv(224, 40%, 80%)
CMYKcmyk(40.4%, 29.6%, 0%, 20.4%)
CIE-LABlab(59.91, 7.41, -33.45)
CIE-LCHlch(59.91, 34.27, 282.49°)
OKLaboklab(65.69% -0.0027 -0.0934)
OKLCHoklch(65.69% 0.093 268.3)
XYZxyz(28.4838, 28.0203, 60.3959)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FCB #CBB579
analogous
#79B8CB #798FCB #8C79CB
triadic
#798FCB #CB798F #8FCB79
tetradic
#798FCB #CB79B8 #CBB579 #79CB8C
square
#798FCB #CB79B8 #CBB579 #79CB8C
split-complementary
#798FCB #CB8C79 #B8CB79
monochromatic
#385091 #4D6ABA #798FCB #A5B4DC #D1D9ED

Accessibility & contrast

On white

3.18
#798FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#798FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FCB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FCB#FFFFFF#000000##000000
##798FCB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#5E9BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fcb;
/* rgb */ color: rgb(121, 143, 203);
/* oklch */ color: oklch(65.7% 0.093 268.3);
Tailwind
colors: {
  custom: {
    50: '#a3afdb',
    500: '#798fcb',
    950: '#000000',
  },
}
SCSS
$custom: #798fcb;
$custom-light: #a3afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#798fcb",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 203
  },
  "hsl": {
    "h": 223.902,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.09344,
    "h": 268.3
  },
  "luminance": 0.28022
}

Semantic roles & 50–950 ramp

primary
#798FCB
secondary
#DED7C1
accent
#922EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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