#798ACE#798ACE

#798ACE is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.8% C 0.104 H 272.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#798ACE
RGBrgb(121, 138, 206)
HSLhsl(228, 46%, 64%)
HSVhsv(228, 41%, 81%)
CMYKcmyk(41.3%, 33%, 0%, 19.2%)
CIE-LABlab(58.69, 11.18, -37.04)
CIE-LCHlch(58.69, 38.69, 286.80°)
OKLaboklab(64.79% 0.0046 -0.1038)
OKLCHoklch(64.79% 0.104 272.5)
XYZxyz(28.1108, 26.6968, 62.0523)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ACE #CEBD79
analogous
#79B5CE #798ACE #9379CE
triadic
#798ACE #CE798A #8ACE79
tetradic
#798ACE #CE79B5 #CEBD79 #79CE93
square
#798ACE #CE79B5 #CEBD79 #79CE93
split-complementary
#798ACE #CE9379 #B5CE79
monochromatic
#374A96 #4C63BE #798ACE #A6B1DE #D3D8EF

Accessibility & contrast

On white

3.31
#798ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#798ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ACE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ACE#FFFFFF#000000##000000
##798ACE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D1
Deuteranopia (green-blind)
#6B8ACC
Tritanopia (blue-blind)
#5D98A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798ace;
/* rgb */ color: rgb(121, 138, 206);
/* oklch */ color: oklch(64.8% 0.104 272.5);
Tailwind
colors: {
  custom: {
    50: '#a3acdd',
    500: '#798ace',
    950: '#000000',
  },
}
SCSS
$custom: #798ace;
$custom-light: #a3acdd;
$custom-dark: #000000;
JSON
{
  "hex": "#798ace",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 206
  },
  "hsl": {
    "h": 228,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.10386,
    "h": 272.5
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#798ACE
secondary
#E0DAC3
accent
#9D2CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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