#798FCA#798FCA

#798FCA is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.6% C 0.092 H 268.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#798FCA
RGBrgb(121, 143, 202)
HSLhsl(224, 43%, 63%)
HSVhsv(224, 40%, 79%)
CMYKcmyk(40.1%, 29.2%, 0%, 20.8%)
CIE-LABlab(59.86, 7.13, -32.96)
CIE-LCHlch(59.86, 33.72, 282.21°)
OKLaboklab(65.64% -0.003 -0.092)
OKLCHoklch(65.64% 0.092 268.1)
XYZxyz(28.3650, 27.9727, 59.7704)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FCA #CAB479
analogous
#79B7CA #798FCA #8B79CA
triadic
#798FCA #CA798F #8FCA79
tetradic
#798FCA #CA79B7 #CAB479 #79CA8B
square
#798FCA #CA79B7 #CAB479 #79CA8B
split-complementary
#798FCA #CA8B79 #B7CA79
monochromatic
#395090 #4D6AB9 #798FCA #A5B4DB #D1D8ED

Accessibility & contrast

On white

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

On black

6.59
#798FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FCA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FCA#FFFFFF#000000##000000
##798FCA1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#5F9BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fca;
/* rgb */ color: rgb(121, 143, 202);
/* oklch */ color: oklch(65.6% 0.092 268.1);
Tailwind
colors: {
  custom: {
    50: '#a2afda',
    500: '#798fca',
    950: '#000000',
  },
}
SCSS
$custom: #798fca;
$custom-light: #a2afda;
$custom-dark: #000000;
JSON
{
  "hex": "#798fca",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 223.704,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65642,
    "c": 0.09203,
    "h": 268.1
  },
  "luminance": 0.27974
}

Semantic roles & 50–950 ramp

primary
#798FCA
secondary
#DED6C1
accent
#922FB6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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