#798DD3#798DD3

#798DD3 is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.7% C 0.107 H 271.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#798DD3
RGBrgb(121, 141, 211)
HSLhsl(227, 51%, 65%)
HSVhsv(227, 43%, 83%)
CMYKcmyk(42.7%, 33.2%, 0%, 17.3%)
CIE-LABlab(59.72, 10.85, -38.23)
CIE-LCHlch(59.72, 39.74, 285.85°)
OKLaboklab(65.66% 0.002 -0.1072)
OKLCHoklch(65.66% 0.107 271.1)
XYZxyz(29.1643, 27.8163, 65.4478)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DD3 #D3BF79
analogous
#79BAD3 #798DD3 #9279D3
triadic
#798DD3 #D3798D #8DD379
tetradic
#798DD3 #D379BA #D3BF79 #79D392
square
#798DD3 #D379BA #D3BF79 #79D392
split-complementary
#798DD3 #D39279 #BAD379
monochromatic
#344B9E #4B66C4 #798DD3 #A7B4E2 #D5DBF1

Accessibility & contrast

On white

3.20
#798DD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#798DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DD3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DD3#FFFFFF#000000##000000
##798DD31.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D6
Deuteranopia (green-blind)
#6C8CD1
Tritanopia (blue-blind)
#5A9BA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798dd3;
/* rgb */ color: rgb(121, 141, 211);
/* oklch */ color: oklch(65.7% 0.107 271.1);
Tailwind
colors: {
  custom: {
    50: '#a3aee1',
    500: '#798dd3',
    950: '#000000',
  },
}
SCSS
$custom: #798dd3;
$custom-light: #a3aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#798dd3",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 211
  },
  "hsl": {
    "h": 226.667,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.10723,
    "h": 271.1
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#798DD3
secondary
#E3DCC5
accent
#9D28BE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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