#798CDA#798CDA

#798CDA is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.8% C 0.118 H 272.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#798CDA
RGBrgb(121, 140, 218)
HSLhsl(228, 57%, 66%)
HSVhsv(228, 44%, 85%)
CMYKcmyk(44.5%, 35.8%, 0%, 14.5%)
CIE-LABlab(59.78, 13.46, -42.06)
CIE-LCHlch(59.78, 44.16, 287.75°)
OKLaboklab(65.82% 0.0049 -0.1183)
OKLCHoklch(65.82% 0.118 272.4)
XYZxyz(29.9142, 27.8815, 70.1215)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CDA #DAC779
analogous
#79BDDA #798CDA #9779DA
triadic
#798CDA #DA798C #8CDA79
tetradic
#798CDA #DA79BD #DAC779 #79DA97
square
#798CDA #DA79BD #DAC779 #79DA97
split-complementary
#798CDA #DA9779 #BDDA79
monochromatic
#2F47AA #4963CD #798CDA #A9B5E7 #D9DEF4

Accessibility & contrast

On white

3.19
#798CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#798CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CDA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CDA#FFFFFF#000000##000000
##798CDA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DD
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#579CA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798cda;
/* rgb */ color: rgb(121, 140, 218);
/* oklch */ color: oklch(65.8% 0.118 272.4);
Tailwind
colors: {
  custom: {
    50: '#a4ade6',
    500: '#798cda',
    950: '#000000',
  },
}
SCSS
$custom: #798cda;
$custom-light: #a4ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#798cda",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 228.247,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65815,
    "c": 0.11841,
    "h": 272.4
  },
  "luminance": 0.27883
}

Semantic roles & 50–950 ramp

primary
#798CDA
secondary
#E7E1C8
accent
#A421C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #798CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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