#798ACF#798ACF

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

Color values

HEX#798ACF
RGBrgb(121, 138, 207)
HSLhsl(228, 47%, 64%)
HSVhsv(228, 42%, 81%)
CMYKcmyk(41.5%, 33.3%, 0%, 18.8%)
CIE-LABlab(58.74, 11.47, -37.53)
CIE-LCHlch(58.74, 39.24, 286.99°)
OKLaboklab(64.84% 0.0048 -0.1052)
OKLCHoklch(64.84% 0.105 272.6)
XYZxyz(28.2327, 26.7455, 62.6942)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ACF #CFBE79
analogous
#79B5CF #798ACF #9379CF
triadic
#798ACF #CF798A #8ACF79
tetradic
#798ACF #CF79B5 #CFBE79 #79CF93
square
#798ACF #CF79B5 #CFBE79 #79CF93
split-complementary
#798ACF #CF9379 #B5CF79
monochromatic
#364997 #4C63BF #798ACF #A6B1DF #D3D9EF

Accessibility & contrast

On white

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

On black

6.35
#798ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ACF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ACF#FFFFFF#000000##000000
##798ACF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#6B8ACD
Tritanopia (blue-blind)
#5D98A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798acf;
/* rgb */ color: rgb(121, 138, 207);
/* oklch */ color: oklch(64.8% 0.105 272.6);
Tailwind
colors: {
  custom: {
    50: '#a3acde',
    500: '#798acf',
    950: '#000000',
  },
}
SCSS
$custom: #798acf;
$custom-light: #a3acde;
$custom-dark: #000000;
JSON
{
  "hex": "#798acf",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 207
  },
  "hsl": {
    "h": 228.14,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.10529,
    "h": 272.6
  },
  "luminance": 0.26747
}

Semantic roles & 50–950 ramp

primary
#798ACF
secondary
#E1DBC3
accent
#9E2BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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